From cfd61537b47387b0fb5c8228baad6cec16d8f6e6 Mon Sep 17 00:00:00 2001 From: tzafrir Date: Tue, 18 Dec 2007 14:31:07 +0000 Subject: xpp r5151: * xpd_pri: Basically ready. * PCM synchronization changes: - Each Astribank unit ticks independently. Each with its own PLL. - HOST synchronization is gone. Loading of xpp will no longer cause useless 250 ticks per second if you have no Astribank. - Synchronization from the zaptel sync master requires setting ZAPTEL as sync source (xpp_sync ZAPTEL). * rx_tasklet is now a parameter of the module xpp, rather than of xpp_usb. * New FPGA firmware: 5128 (1151) / 5122 (1141, 1131): - Fixes synchronization issues. - PRI module: E1 should now work. * perl module and utilities: - Modules no longer magically scan system on initialization. - Scanning is by calling explicit methods. - "Serial" has been renamed "Label". It is basically unique, but should be modifieble. - Some basic documentation of zaptel perl modules. * Default sort order of zt_registration is back to SORT_CONNCTOR. * zt_registration proc file now shows the number of span registered to if registered. Try: grep . /proc/xpp/XBUS-*/XPD-*/zt_registration * genzaptelconf: Allow using a custom command instead of /etc/init.d/asterisk to start/stop asterisk. * Fixed the typo "Slagish". git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@3506 5390a7c7-147a-4af0-8ec9-7488f05a26cb --- xpp/utils/hexfile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xpp/utils/hexfile.c') diff --git a/xpp/utils/hexfile.c b/xpp/utils/hexfile.c index 1493199..2a01b3f 100644 --- a/xpp/utils/hexfile.c +++ b/xpp/utils/hexfile.c @@ -394,7 +394,7 @@ void process_comment(struct hexdata *hexdata, char buf[]) if((p = strchr(p, ' ')) == NULL) return; p++; - strncpy(hexdata->version_info, p, BUFSIZ - 1); + snprintf(hexdata->version_info, BUFSIZ, "%s", p); if((p = strchr(hexdata->version_info, ' ')) != NULL) *p = '\0'; } -- cgit v1.2.3