From 0b96ce0791f1abb62a847053db665cb3da791db0 Mon Sep 17 00:00:00 2001 From: Alex Harpin Date: Sun, 25 Oct 2015 12:26:34 +0000 Subject: vyatta-wanloadbalance: missing hex prefix format specifier flag Replacing the missing hex prefix format specifier flag used for routing table creation (tables missing from previous related commit) Bug #61 http://bugzilla.vyos.net/show_bug.cgi?id=61 --- src/lbdecision.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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) { -- cgit v1.2.3