diff options
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/rtadvd/rtadvd.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/rtadvd/rtadvd.c b/usr.sbin/rtadvd/rtadvd.c index 0a61392cf32..0c11fb2d2b2 100644 --- a/usr.sbin/rtadvd/rtadvd.c +++ b/usr.sbin/rtadvd/rtadvd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rtadvd.c,v 1.37 2008/11/03 07:02:44 deraadt Exp $ */ +/* $OpenBSD: rtadvd.c,v 1.38 2008/11/21 23:44:04 tedu Exp $ */ /* $KAME: rtadvd.c,v 1.66 2002/05/29 14:18:36 itojun Exp $ */ /* @@ -158,6 +158,8 @@ main(argc, argv) log_init(1); /* log to stderr until daemonized */ + closefrom(3); + /* get command line options and arguments */ #define OPTIONS "c:dM:Rs" while ((ch = getopt(argc, argv, OPTIONS)) != -1) { |