diff options
author | Alex Harpin <development@landsofshadow.co.uk> | 2015-10-25 12:26:34 +0000 |
---|---|---|
committer | Alex Harpin <development@landsofshadow.co.uk> | 2015-10-25 12:28:34 +0000 |
commit | 0b96ce0791f1abb62a847053db665cb3da791db0 (patch) | |
tree | 3bb58ab64e1414a7c48ab33b12d604adf695ab97 | |
parent | 819490cf474eb5b45b45d307e042f5f6bd3ee4a6 (diff) | |
download | vyatta-wanloadbalance-0b96ce0791f1abb62a847053db665cb3da791db0.tar.gz vyatta-wanloadbalance-0b96ce0791f1abb62a847053db665cb3da791db0.zip |
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
-rw-r--r-- | src/lbdecision.cc | 2 |
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) { |