diff options
author | markster <markster@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2004-02-01 05:53:58 +0000 |
---|---|---|
committer | markster <markster@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2004-02-01 05:53:58 +0000 |
commit | 3ab46dcd023f88d345648e8c273733107c6af303 (patch) | |
tree | bd211696fc36f17d04afe1dcd9a80f3f40802e38 | |
parent | c65716fcb2bd551b135a75471282c218faed1b29 (diff) |
Final fix for ztd-eth (bug #769)
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@305 5390a7c7-147a-4af0-8ec9-7488f05a26cb
-rwxr-xr-x | ztd-eth.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -287,7 +287,8 @@ static void *ztdeth_create(struct zt_span *span, char *addr) 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); |