mirror of
https://git.proxmox.com/git/mirror_frr
synced 2026-01-04 02:56:54 +00:00
zebra: Fix privs elevation
This Commit: f183e380fa broke
priviledge escalation on *bsd. This puts it back.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
parent
d482ae5912
commit
49ddb66ab0
@ -410,7 +410,7 @@ enum zebra_dplane_result kernel_route_update(struct zebra_dplane_ctx *ctx)
|
||||
goto done;
|
||||
}
|
||||
|
||||
frr_elevate_privs(ZPRIVS_RAISE) {
|
||||
frr_elevate_privs(&zserv_privs) {
|
||||
|
||||
if (dplane_ctx_get_op(ctx) == DPLANE_OP_ROUTE_DELETE)
|
||||
kernel_rtm(RTM_DELETE, dplane_ctx_get_dest(ctx),
|
||||
|
||||
Loading…
Reference in New Issue
Block a user