]> git.ipfire.org Git - thirdparty/nftables.git/commitdiff
payload: fix two datatypes
authorPatrick McHardy <kaber@trash.net>
Tue, 28 Jul 2009 12:17:42 +0000 (14:17 +0200)
committerPatrick McHardy <kaber@trash.net>
Tue, 28 Jul 2009 12:17:42 +0000 (14:17 +0200)
Fix typo in URG-flag and missing end-of-list marker for the arpop constants.

Signed-off-by: Patrick McHardy <kaber@trash.net>
src/payload.c

index 944fed1b6733ecb01532fa2070b168f7ed9692b8..a24748d5cd98e75efa516c3c7f7866baa2429c11 100644 (file)
@@ -648,7 +648,7 @@ static const struct symbol_table tcp_flag_tbl = {
                SYMBOL("rst",   TCP_FLAG_RST),
                SYMBOL("psh",   TCP_FLAG_PSH),
                SYMBOL("ack",   TCP_FLAG_ACK),
-               SYMBOL("urh",   TCP_FLAG_URG),
+               SYMBOL("urg",   TCP_FLAG_URG),
                SYMBOL("ecn",   TCP_FLAG_ECN),
                SYMBOL("cwr",   TCP_FLAG_CWR),
                SYMBOL_LIST_END
@@ -841,6 +841,7 @@ static const struct symbol_table arpop_tbl = {
                SYMBOL("inrequest",     ARPOP_InREQUEST),
                SYMBOL("inreply",       ARPOP_InREPLY),
                SYMBOL("nak",           ARPOP_NAK),
+               SYMBOL_LIST_END
        },
 };