diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2008-12-08 11:07:58 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2008-12-08 11:07:58 +0100 |
commit | 6042436a188581a327580f7821c0a3b94c4ef5d7 (patch) | |
tree | 33b85488a2973399b7d8f878736fa1e869317918 /include | |
parent | 8663becfe12801a4b5a96137a0db26a8871948a3 (diff) | |
download | conntrack-tools-6042436a188581a327580f7821c0a3b94c4ef5d7.tar.gz conntrack-tools-6042436a188581a327580f7821c0a3b94c4ef5d7.zip |
parse: fix missing master layer 4 protocol number assignation
This patch fixes NTA_MASTER_L4PROTO parsing which was missing. This
problem was introduced in "network: rework TLV-based protocol", commit
id 76ac8ebe5e49385585c8e29fe530ed4baef390bf, ie. somewhere in the
development of 0.9.9. This patch also fixes the size of parsing
callback array that is NTA_MAX, not ATTR_MAX. This problem does not
affect conntrack-tools <= 0.9.8.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/network.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/network.h b/include/network.h index 6ab099f..3f8123d 100644 --- a/include/network.h +++ b/include/network.h @@ -196,6 +196,7 @@ enum nta_attr { NTA_SPAT_PORT, /* uint16_t */ NTA_DPAT_PORT, /* uint16_t */ NTA_NAT_SEQ_ADJ = 16, /* struct nta_attr_natseqadj */ + NTA_MAX }; struct nta_attr_natseqadj { |