summaryrefslogtreecommitdiff
path: root/ripngd/ripngd.c
diff options
context:
space:
mode:
Diffstat (limited to 'ripngd/ripngd.c')
-rw-r--r--ripngd/ripngd.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/ripngd/ripngd.c b/ripngd/ripngd.c
index b1edd6f2..77e47547 100644
--- a/ripngd/ripngd.c
+++ b/ripngd/ripngd.c
@@ -107,17 +107,6 @@ ripng_info_free (struct ripng_info *rinfo)
XFREE (MTYPE_RIPNG_ROUTE, rinfo);
}
-static int
-setsockopt_so_recvbuf (int sock, int size)
-{
- int ret;
-
- ret = setsockopt (sock, SOL_SOCKET, SO_RCVBUF, (char *) &size, sizeof (int));
- if (ret < 0)
- zlog (NULL, LOG_ERR, "can't setsockopt SO_RCVBUF");
- return ret;
-}
-
/* Create ripng socket. */
int
ripng_make_socket (void)