dect
/
libnl
Archived
13
0
Fork 0

Conntrack Dump ICMP

Looks like a cut and paste oversight ...
This commit is contained in:
Rich Fought 2012-10-04 21:55:36 +00:00 committed by Thomas Graf
parent a35287a689
commit c3376e7df6
1 changed files with 2 additions and 2 deletions

View File

@ -121,10 +121,10 @@ static void dump_icmp(struct nl_dump_params *p, struct nfnl_ct *ct, int reply)
if (nfnl_ct_test_icmp_type(ct, reply))
nl_dump(p, "icmp type %d ", nfnl_ct_get_icmp_type(ct, reply));
if (nfnl_ct_test_icmp_type(ct, reply))
if (nfnl_ct_test_icmp_code(ct, reply))
nl_dump(p, "code %d ", nfnl_ct_get_icmp_code(ct, reply));
if (nfnl_ct_test_icmp_type(ct, reply))
if (nfnl_ct_test_icmp_id(ct, reply))
nl_dump(p, "id %d ", nfnl_ct_get_icmp_id(ct, reply));
}