]> git.ipfire.org Git - thirdparty/iptables.git/commitdiff
Fix CONNMARK save/restore (Tom Eastep <teastep@shorewall.net>, Pawel Sikora <pluto...
authorTom Eastep <teastep@shorewall.net>
Sat, 11 Jun 2005 16:17:45 +0000 (16:17 +0000)
committerPatrick McHardy <kaber@trash.net>
Sat, 11 Jun 2005 16:17:45 +0000 (16:17 +0000)
extensions/libipt_CONNMARK.c

index d7bfeb8c6f23bf9abcdd0796335d326488c50546..bc739fcae0f07818c3ef05eb9bf48d9d02568895 100644 (file)
@@ -150,7 +150,7 @@ static void
 print_mask(const char *text, unsigned long long mask)
 {
        if (mask != ~0ULL)
-               printf("%s%llx", text, mask);
+               printf("%s0x%llx", text, mask);
 }
 
 #else
@@ -165,7 +165,7 @@ static void
 print_mask(const char *text, unsigned long mask)
 {
        if (mask != ~0UL)
-               printf("%s%lx", text, mask);
+               printf("%s0x%lx", text, mask);
 }
 #endif