summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ripd/ripd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ripd/ripd.c b/ripd/ripd.c
index accac5e9..df6cf6cf 100644
--- a/ripd/ripd.c
+++ b/ripd/ripd.c
@@ -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))