diff options
Diffstat (limited to 'usr.sbin/mrouted/mapper.c')
-rw-r--r-- | usr.sbin/mrouted/mapper.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.sbin/mrouted/mapper.c b/usr.sbin/mrouted/mapper.c index 0f09835..8fdbad0 100644 --- a/usr.sbin/mrouted/mapper.c +++ b/usr.sbin/mrouted/mapper.c @@ -943,6 +943,8 @@ int main(argc, argv) struct timeval tv; int count, recvlen, dummy = 0; + if (igmp_socket >= FD_SETSIZE) + log(LOG_ERR, 0, "descriptor too big"); FD_ZERO(&fds); FD_SET(igmp_socket, &fds); |