[Asterisk-cvs] zaptel ztd-eth.c,1.5,1.6
markster at lists.digium.com
markster at lists.digium.com
Sat Jan 31 23:45:17 CST 2004
Update of /usr/cvsroot/zaptel
In directory mongoose.digium.com:/tmp/cvs-serv342
Modified Files:
ztd-eth.c
Log Message:
Final fix for ztd-eth (bug #769)
Index: ztd-eth.c
===================================================================
RCS file: /usr/cvsroot/zaptel/ztd-eth.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- ztd-eth.c 9 Jan 2004 03:09:14 -0000 1.5
+++ ztd-eth.c 1 Feb 2004 05:53:58 -0000 1.6
@@ -287,7 +287,8 @@
z->addr[x] = res & 0xff;
} else
break;
- tmp2 = tmp3;
+ if ((tmp2 = tmp3))
+ tmp3 = strchr(tmp2, ':');
}
if (x != 6) {
printk("TDMoE: Invalid MAC address in: %s\n", addr);
More information about the svn-commits
mailing list