]> granicus.if.org Git - libnl/commitdiff
Fix typo in conntrack object compare
authorPhilip Craig <philipc@snapgear.com>
Tue, 18 Sep 2007 01:52:51 +0000 (11:52 +1000)
committerThomas Graf <tgraf@suug.ch>
Tue, 18 Sep 2007 10:37:49 +0000 (12:37 +0200)
lib/netfilter/ct_obj.c

index 1f4284e9669b37a56b1aafbf4b2bdaf0465f8631..81baade6ab8717315c4b9220bac13ad4e134c3c6 100644 (file)
@@ -219,7 +219,7 @@ static int ct_compare(struct nl_object *_a, struct nl_object *_b,
        diff |= CT_DIFF_VAL(ORIG_PACKETS,       ct_orig.packets);
        diff |= CT_DIFF_VAL(ORIG_BYTES,         ct_orig.bytes);
        diff |= CT_DIFF_ADDR(REPL_SRC,          ct_repl.src);
-       diff |= CT_DIFF_ADDR(ORIG_DST,          ct_repl.dst);
+       diff |= CT_DIFF_ADDR(REPL_DST,          ct_repl.dst);
        diff |= CT_DIFF_VAL(REPL_SRC_PORT,      ct_repl.proto.port.src);
        diff |= CT_DIFF_VAL(REPL_DST_PORT,      ct_repl.proto.port.dst);
        diff |= CT_DIFF_VAL(REPL_ICMP_ID,       ct_repl.proto.icmp.id);