mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-14 08:50:26 +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)
|
||||
{
|
||||
perror ("bind");
|
||||
if (ripd_privs.change (ZPRIVS_LOWER))
|
||||
zlog_err ("rip_create_socket: could not lower privs");
|
||||
return ret;
|
||||
}
|
||||
if (ripd_privs.change (ZPRIVS_LOWER))
|
||||
|
Loading…
Reference in New Issue
Block a user