diff options
author | Steven Barth <steven@midlink.org> | 2015-01-08 11:31:36 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2015-01-08 11:31:36 +0000 |
commit | c3f870fa11b8d15e1cb3bc46efdefc4fcc6e001f (patch) | |
tree | 9795ccc3b97e7746f009f1c9b51f3853bc283f92 /package/network/utils/nftables/patches/201-parser-rename-VERSION-token-to-IPHDRVERSION.patch | |
parent | a8bb90bd2f07fa5da756c11911c64af1c855ee3d (diff) | |
download | master-187ad058-c3f870fa11b8d15e1cb3bc46efdefc4fcc6e001f.tar.gz master-187ad058-c3f870fa11b8d15e1cb3bc46efdefc4fcc6e001f.tar.bz2 master-187ad058-c3f870fa11b8d15e1cb3bc46efdefc4fcc6e001f.zip |
nftables: bump to latest git / all patches upstreamed
Signed-off-by: Steven Barth <steven@midlink.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43870 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/network/utils/nftables/patches/201-parser-rename-VERSION-token-to-IPHDRVERSION.patch')
-rw-r--r-- | package/network/utils/nftables/patches/201-parser-rename-VERSION-token-to-IPHDRVERSION.patch | 55 |
1 files changed, 0 insertions, 55 deletions
diff --git a/package/network/utils/nftables/patches/201-parser-rename-VERSION-token-to-IPHDRVERSION.patch b/package/network/utils/nftables/patches/201-parser-rename-VERSION-token-to-IPHDRVERSION.patch deleted file mode 100644 index a82b8c600e..0000000000 --- a/package/network/utils/nftables/patches/201-parser-rename-VERSION-token-to-IPHDRVERSION.patch +++ /dev/null @@ -1,55 +0,0 @@ -From 20417d50a2f2c6d9ed1b22ca1195214d0c2c402d Mon Sep 17 00:00:00 2001 -From: Steven Barth <cyrus@openwrt.org> -Date: Mon, 15 Dec 2014 13:58:55 +0100 -Subject: [PATCH 1/5] parser: rename VERSION token to IPHDRVERSION - -A token name of VERSION results in a macro being defined -with the same name. This prevents inclusion of config.h -in commonly used headers. - -Signed-off-by: Steven Barth <cyrus@openwrt.org> ---- - src/parser_bison.y | 6 +++--- - src/scanner.l | 2 +- - 2 files changed, 4 insertions(+), 4 deletions(-) - ---- a/src/parser_bison.y -+++ b/src/parser_bison.y -@@ -237,7 +237,7 @@ static void location_update(struct locat - %token OPERATION "operation" - - %token IP "ip" --%token VERSION "version" -+%token IPHDRVERSION "version" - %token HDRLENGTH "hdrlength" - %token TOS "tos" - %token LENGTH "length" -@@ -1947,7 +1947,7 @@ ip_hdr_expr : IP ip_hdr_field - } - ; - --ip_hdr_field : VERSION { $$ = IPHDR_VERSION; } -+ip_hdr_field : IPHDRVERSION { $$ = IPHDR_VERSION; } - | HDRLENGTH { $$ = IPHDR_HDRLENGTH; } - | TOS { $$ = IPHDR_TOS; } - | LENGTH { $$ = IPHDR_LENGTH; } -@@ -1994,7 +1994,7 @@ ip6_hdr_expr : IP6 ip6_hdr_field - } - ; - --ip6_hdr_field : VERSION { $$ = IP6HDR_VERSION; } -+ip6_hdr_field : IPHDRVERSION { $$ = IP6HDR_VERSION; } - | PRIORITY { $$ = IP6HDR_PRIORITY; } - | FLOWLABEL { $$ = IP6HDR_FLOWLABEL; } - | LENGTH { $$ = IP6HDR_LENGTH; } ---- a/src/scanner.l -+++ b/src/scanner.l -@@ -349,7 +349,7 @@ addrstring ({macaddr}|{ip4addr}|{ip6addr - "operation" { return OPERATION; } - - "ip" { return IP; } --"version" { return VERSION; } -+"version" { return IPHDRVERSION; } - "hdrlength" { return HDRLENGTH; } - "tos" { return TOS; } - "length" { return LENGTH; } |