summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAna Rey <anarey@gmail.com>2014-02-17 10:46:11 +0000
committerPatrick McHardy <kaber@trash.net>2014-02-17 10:46:11 +0000
commitb621a417bc0de21a1c49334226d4f94faaa330fe (patch)
treef5cca53f836ad22ac842c312b005fd183694d2a2 /src
parent661f5efc90267825b4bccfef4c069d6c340ef089 (diff)
src: proto: fixed a rreply symbol
There is a bug with rreply symbol. The rreply and reply symbol were the same. There is a reproduction of this bug here: $ sudo nft add rule arp art-t filter arp operation reply $ sudo nft list table arp art-t table arp art-t { chain filter { type filter hook input priority 0; arp operation 512 } } $ sudo nft add rule arp art-t filter arp operation rreply $ sudo nft list table arp art-t table arp art-t { chain filter { type filter hook input priority 0; arp operation 512 <===== arp operation 512 <===== } } Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'src')
-rw-r--r--src/proto.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/proto.c b/src/proto.c
index cc073af0..3e62f92a 100644
--- a/src/proto.c
+++ b/src/proto.c
@@ -661,7 +661,7 @@ static const struct symbol_table arpop_tbl = {
SYMBOL("request", ARPOP_REQUEST),
SYMBOL("reply", ARPOP_REPLY),
SYMBOL("rrequest", ARPOP_RREQUEST),
- SYMBOL("rreply", ARPOP_REPLY),
+ SYMBOL("rreply", ARPOP_RREPLY),
SYMBOL("inrequest", ARPOP_InREQUEST),
SYMBOL("inreply", ARPOP_InREPLY),
SYMBOL("nak", ARPOP_NAK),