projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
trigger error if dport is used when no proto is defined
[openwrt.git]
/
package
/
libpcap
/
patches
/
102-alt-ether.patch
diff --git
a/package/libpcap/patches/102-alt-ether.patch
b/package/libpcap/patches/102-alt-ether.patch
index
347265d
..
e9cc15f
100644
(file)
--- a/
package/libpcap/patches/102-alt-ether.patch
+++ b/
package/libpcap/patches/102-alt-ether.patch
@@
-1,6
+1,5
@@
-diff -urN libpcap-0.9.4.orig/nametoaddr.c libpcap-0.9.4/nametoaddr.c
---- libpcap-0.9.4.orig/nametoaddr.c 2005-04-20 13:13:51.000000000 +0200
-+++ libpcap-0.9.4/nametoaddr.c 2006-02-05 16:58:46.000000000 +0100
+--- a/nametoaddr.c
++++ b/nametoaddr.c
@@ -410,7 +410,7 @@
e = ep = (u_char *)malloc(6);
@@ -410,7 +410,7 @@
e = ep = (u_char *)malloc(6);
@@
-10,18
+9,17
@@
diff -urN libpcap-0.9.4.orig/nametoaddr.c libpcap-0.9.4/nametoaddr.c
s += 1;
d = xdtoi(*s++);
if (isxdigit((unsigned char)*s)) {
s += 1;
d = xdtoi(*s++);
if (isxdigit((unsigned char)*s)) {
-diff -urN libpcap-0.9.4.orig/scanner.l libpcap-0.9.4/scanner.l
---- libpcap-0.9.4.orig/scanner.l 2005-09-05 11:08:07.000000000 +0200
-+++ libpcap-0.9.4/scanner.l 2006-02-05 17:00:13.000000000 +0100
+--- 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]
@@ -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 1
60
00
- %o
190
00
-@@ -3
06,7 +307
,7 @@
+ %a 1
84
00
+ %o
215
00
+@@ -3
10,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; }
{N} { yylval.i = stoi((char *)yytext); return NUM; }
({N}\.{N})|({N}\.{N}\.{N})|({N}\.{N}\.{N}\.{N}) {
yylval.s = sdup((char *)yytext); return HID; }
@@
-30,7
+28,7
@@
diff -urN libpcap-0.9.4.orig/scanner.l libpcap-0.9.4/scanner.l
return EID; }
{V6} {
#ifdef INET6
return EID; }
{V6} {
#ifdef INET6
-@@ -32
4,6 +325
,7 @@
+@@ -32
8,6 +329
,7 @@
#endif /*INET6*/
}
{B}:+({B}:+)+ { bpf_error("bogus ethernet address %s", yytext); }
#endif /*INET6*/
}
{B}:+({B}:+)+ { bpf_error("bogus ethernet address %s", yytext); }
This page took
0.0314 seconds
and
4
git commands to generate.