diff options
author | Phil Sutter <phil@nwl.cc> | 2021-11-06 01:09:37 +0100 |
---|---|---|
committer | Phil Sutter <phil@nwl.cc> | 2021-11-23 15:01:23 +0100 |
commit | cf14b92bc1a3f5040437234dffe5cf6aa59711a5 (patch) | |
tree | 89264bb0c612af799b7759a4b17fc671718ffbb2 /iptables/nft-shared.h | |
parent | 24f30842d979da464c1c3ef106d2efa66a480735 (diff) |
nft-shared: Drop unused function print_proto()
The last users vanished back in 2013. There is identical code in
save_rule_details(), but with only a single user there's not much point
in keeping the function.
Fixes: cdc78b1d6bd7b ("nft: convert rule into a command state structure")
Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'iptables/nft-shared.h')
-rw-r--r-- | iptables/nft-shared.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/iptables/nft-shared.h b/iptables/nft-shared.h index de684374..bcf8486e 100644 --- a/iptables/nft-shared.h +++ b/iptables/nft-shared.h @@ -158,7 +158,6 @@ bool is_same_interfaces(const char *a_iniface, const char *a_outiface, int parse_meta(struct nftnl_expr *e, uint8_t key, char *iniface, unsigned char *iniface_mask, char *outiface, unsigned char *outiface_mask, uint8_t *invflags); -void print_proto(uint16_t proto, int invert); void get_cmp_data(struct nftnl_expr *e, void *data, size_t dlen, bool *inv); void nft_rule_to_iptables_command_state(struct nft_handle *h, const struct nftnl_rule *r, |