aboutsummaryrefslogtreecommitdiffstats
path: root/ctrl
diff options
context:
space:
mode:
Diffstat (limited to 'ctrl')
-rw-r--r--ctrl/libhicnctrl/src/commands/command_strategy.c2
-rw-r--r--ctrl/libhicnctrl/src/parse.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/ctrl/libhicnctrl/src/commands/command_strategy.c b/ctrl/libhicnctrl/src/commands/command_strategy.c
index 5605822e7..f7f5974d1 100644
--- a/ctrl/libhicnctrl/src/commands/command_strategy.c
+++ b/ctrl/libhicnctrl/src/commands/command_strategy.c
@@ -15,7 +15,7 @@
.name = "strategy", \
.help = \
"Strategy type (e.g. 'random', 'loadbalancer', 'low_latency', " \
- "'replication', 'bestpath').", \
+ "'replication', 'bestpath', local_remote).", \
.type = TYPE_ENUM(strategy_type), .offset = offsetof(hc_strategy_t, type), \
}
diff --git a/ctrl/libhicnctrl/src/parse.c b/ctrl/libhicnctrl/src/parse.c
index ca19d8280..25fa98de2 100644
--- a/ctrl/libhicnctrl/src/parse.c
+++ b/ctrl/libhicnctrl/src/parse.c
@@ -382,6 +382,7 @@ const char * cmds[] = {
"set strategy b001::/16 low_latency",
"set strategy b001::/16 replication",
"set strategy b001::/16 bestpath",
+ "set strategy b001::/16 local_remote",
"set wldr <on|off> <connection_id>", // on-off vs unset
"cache clear",
"cache store on/off", // set/unset