summaryrefslogtreecommitdiff
path: root/xpp/xpp_fxloader
diff options
context:
space:
mode:
authorTzafrir Cohen <tzafrir.cohen@xorcom.com>2012-03-15 21:17:10 +0000
committerTzafrir Cohen <tzafrir.cohen@xorcom.com>2012-03-15 21:17:10 +0000
commitd311d7d4221d1e99eb8550f290207c9ab8123b39 (patch)
treef7554aad13224baca827e8e3b383c3b757fc20ef /xpp/xpp_fxloader
parentdf38c2402d01bf9f4664b4098e4c88a94c157be7 (diff)
xpp: clean 'Extrainfo' EEPROM field
* Extrainfo field contains junk data * Caused by: - The field is initialized to 0xFF values - There was no null termination (and no room to add it) * New code: - Ensure that show_extrainfo() have null termination even if EEPROM field is full. - Replace trailing 0xFF characters with '\0' when reading this field - Since our default burned EEPROM contain Extrainfo field full of 0xFF characters, this would make them look as null filled. Internal Issue-Id: #1341 Signed-off-by: Oron Peled <oron.peled@xorcom.com> Acked-by: Tzafrir Cohen <tzafrir.cohen@xorcom.com> Origin: http://svnview.digium.com/svn/dahdi?view=rev&rev=10491 git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/branches/2.5@10507 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'xpp/xpp_fxloader')
0 files changed, 0 insertions, 0 deletions