summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lbdecision.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lbdecision.cc b/src/lbdecision.cc
index 8c36ff9..d66849c 100644
--- a/src/lbdecision.cc
+++ b/src/lbdecision.cc
@@ -187,7 +187,7 @@ if so then this stuff goes here!
execute(string("ip rule delete table ") + buf, stdout);
char hex_buf[40];
- sprintf(hex_buf,"%X",ct);
+ sprintf(hex_buf,"%#X",ct);
execute(string("ip rule add fwmark ") + hex_buf + " table " + buf, stdout);
if (lbdata._disable_source_nat == false) {