mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-16 15:27:59 +00:00
2003-11-17 Hasso Tepper <hasso@estpak.ee>
* ripd/ripd.c: rip_create_socket() privs were not dropped if bind failed.
This commit is contained in:
parent
27d47aa7af
commit
d62262a026
@ -1882,6 +1882,8 @@ rip_create_socket ()
|
|||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
{
|
{
|
||||||
perror ("bind");
|
perror ("bind");
|
||||||
|
if (ripd_privs.change (ZPRIVS_LOWER))
|
||||||
|
zlog_err ("rip_create_socket: could not lower privs");
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
if (ripd_privs.change (ZPRIVS_LOWER))
|
if (ripd_privs.change (ZPRIVS_LOWER))
|
||||||
|
Loading…
Reference in New Issue
Block a user