diff options
author | Tzafrir Cohen <tzafrir.cohen@xorcom.com> | 2012-03-15 20:29:09 +0000 |
---|---|---|
committer | Tzafrir Cohen <tzafrir.cohen@xorcom.com> | 2012-03-15 20:29:09 +0000 |
commit | 00378c0a7d0ef13ba02391176f9cf5db3a8f4dc3 (patch) | |
tree | ba3fa5e6c9b25a083455a9fde7c2c1211eca8486 /acinclude.m4 | |
parent | 877eb9940c0217e025cf9d72b8e33502ad3c49d4 (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>
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@10491 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'acinclude.m4')
0 files changed, 0 insertions, 0 deletions