summaryrefslogtreecommitdiffstats
path: root/extras
diff options
context:
space:
mode:
Diffstat (limited to 'extras')
-rw-r--r--extras/vom/vom/route_cmds.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/extras/vom/vom/route_cmds.cpp b/extras/vom/vom/route_cmds.cpp
index fb1fc2f9933..78676c225be 100644
--- a/extras/vom/vom/route_cmds.cpp
+++ b/extras/vom/vom/route_cmds.cpp
@@ -97,11 +97,12 @@ delete_cmd::issue(connection& con)
msg_t req(con.ctx(), 0, std::ref(*this));
auto& payload = req.get_request().get_payload();
- payload.route.table_id = m_id;
payload.is_add = 0;
payload.is_multipath = 0;
payload.route.table_id = m_id;
+ payload.route.n_paths = 0;
+ payload.route.table_id = m_id;
payload.route.prefix = to_api(m_prefix);
VAPI_CALL(req.execute());