mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-06-15 20:22:47 +00:00
zebra: early return on seg6local nlmsg crafting
Signed-off-by: Hiroki Shirokura <slank.dev@gmail.com>
This commit is contained in:
parent
eab0f8f0a2
commit
0a543b7929
@ -1465,7 +1465,7 @@ static bool _netlink_route_build_singlepath(const struct prefix *p,
|
|||||||
zlog_err("%s: unsupport seg6local behaviour action=%u",
|
zlog_err("%s: unsupport seg6local behaviour action=%u",
|
||||||
__func__,
|
__func__,
|
||||||
nexthop->nh_srv6->seg6local_action);
|
nexthop->nh_srv6->seg6local_action);
|
||||||
break;
|
return false;
|
||||||
}
|
}
|
||||||
nl_attr_nest_end(nlmsg, nest);
|
nl_attr_nest_end(nlmsg, nest);
|
||||||
}
|
}
|
||||||
@ -2568,7 +2568,7 @@ ssize_t netlink_nexthop_msg_encode(uint16_t cmd,
|
|||||||
default:
|
default:
|
||||||
zlog_err("%s: unsupport seg6local behaviour action=%u",
|
zlog_err("%s: unsupport seg6local behaviour action=%u",
|
||||||
__func__, action);
|
__func__, action);
|
||||||
break;
|
return 0;
|
||||||
}
|
}
|
||||||
nl_attr_nest_end(&req->n, nest);
|
nl_attr_nest_end(&req->n, nest);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user