diff options
author | Florian Fainelli <florian@openwrt.org> | 2008-07-07 14:41:48 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2008-07-07 14:41:48 +0000 |
commit | efd3eac055b1504ab362f2cc2874539a63d7f7bc (patch) | |
tree | 31cc17713a5c9a25c2b1f97d0bd33befd4e0c59f /package/libpcap/patches/102-alt-ether.patch | |
parent | c4f83e0b0c1c6b4267965b0e9fda10efbbae19c3 (diff) | |
download | mtk-20170518-efd3eac055b1504ab362f2cc2874539a63d7f7bc.zip mtk-20170518-efd3eac055b1504ab362f2cc2874539a63d7f7bc.tar.gz mtk-20170518-efd3eac055b1504ab362f2cc2874539a63d7f7bc.tar.bz2 |
Update libpcap to 0.9.8 (#3571)
SVN-Revision: 11742
Diffstat (limited to 'package/libpcap/patches/102-alt-ether.patch')
-rw-r--r-- | package/libpcap/patches/102-alt-ether.patch | 20 |
1 files changed, 8 insertions, 12 deletions
diff --git a/package/libpcap/patches/102-alt-ether.patch b/package/libpcap/patches/102-alt-ether.patch index 5f356ca..e9cc15f 100644 --- a/package/libpcap/patches/102-alt-ether.patch +++ b/package/libpcap/patches/102-alt-ether.patch @@ -1,7 +1,5 @@ -Index: libpcap-0.9.4/nametoaddr.c -=================================================================== ---- libpcap-0.9.4.orig/nametoaddr.c 2007-06-04 13:22:03.499323304 +0200 -+++ libpcap-0.9.4/nametoaddr.c 2007-06-04 13:22:03.986249280 +0200 +--- a/nametoaddr.c ++++ b/nametoaddr.c @@ -410,7 +410,7 @@ e = ep = (u_char *)malloc(6); @@ -11,19 +9,17 @@ Index: libpcap-0.9.4/nametoaddr.c s += 1; d = xdtoi(*s++); if (isxdigit((unsigned char)*s)) { -Index: libpcap-0.9.4/scanner.l -=================================================================== ---- libpcap-0.9.4.orig/scanner.l 2007-06-04 13:22:03.506322240 +0200 -+++ libpcap-0.9.4/scanner.l 2007-06-04 13:22:03.987249128 +0200 +--- a/scanner.l ++++ b/scanner.l @@ -80,6 +80,7 @@ N ([0-9]+|(0X|0x)[0-9A-Fa-f]+) B ([0-9A-Fa-f][0-9A-Fa-f]?) W ([0-9A-Fa-f][0-9A-Fa-f]?[0-9A-Fa-f]?[0-9A-Fa-f]?) +X [0-9A-Fa-f] - %a 16000 - %o 19000 -@@ -306,7 +307,7 @@ + %a 18400 + %o 21500 +@@ -310,7 +311,7 @@ {N} { yylval.i = stoi((char *)yytext); return NUM; } ({N}\.{N})|({N}\.{N}\.{N})|({N}\.{N}\.{N}\.{N}) { yylval.s = sdup((char *)yytext); return HID; } @@ -32,7 +28,7 @@ Index: libpcap-0.9.4/scanner.l return EID; } {V6} { #ifdef INET6 -@@ -324,6 +325,7 @@ +@@ -328,6 +329,7 @@ #endif /*INET6*/ } {B}:+({B}:+)+ { bpf_error("bogus ethernet address %s", yytext); } |