mirror of
https://github.com/openvswitch/ovs
synced 2025-10-17 14:28:02 +00:00
dpctl: Fix crash.
ovs-dpctl crashed due to uninitialized router classifier. To fix this issue move ovs router initialization to route table module. Reported-by: Madhu Challa <challa@noironetworks.com> Signed-off-by: Pravin B Shelar <pshelar@nicira.com> Acked-by: Jarno Rajahalme <jrajahalme@nicira.com>
This commit is contained in:
@@ -281,7 +281,7 @@ ovs_router_flush(void)
|
||||
|
||||
/* May not be called more than once. */
|
||||
void
|
||||
ovs_router_unixctl_register(void)
|
||||
ovs_router_init(void)
|
||||
{
|
||||
classifier_init(&cls, NULL);
|
||||
unixctl_command_register("ovs/route/add", "ipv4_addr/prefix_len out_br_name gw", 2, 3,
|
||||
|
Reference in New Issue
Block a user