summaryrefslogtreecommitdiffstats
path: root/extensions
diff options
context:
space:
mode:
authorTom Eastep <teastep@shorewall.net>2005-06-11 16:17:45 +0000
committerPatrick McHardy <kaber@trash.net>2005-06-11 16:17:45 +0000
commitf3aa491a54847fbbaae0858d00e5e4c0986c1d7b (patch)
treecf60aeea4ee9d76ce4ff018c27cf0dc0df0571bf /extensions
parentdfdcd641085d22f7f911ca431db845590493c336 (diff)
Fix CONNMARK save/restore (Tom Eastep <teastep@shorewall.net>, Pawel Sikora <pluto@agmk.net>)
Diffstat (limited to 'extensions')
-rw-r--r--extensions/libipt_CONNMARK.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/libipt_CONNMARK.c b/extensions/libipt_CONNMARK.c
index d7bfeb8c..bc739fca 100644
--- a/extensions/libipt_CONNMARK.c
+++ b/extensions/libipt_CONNMARK.c
@@ -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