aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/rtsold/rtsol.c
diff options
context:
space:
mode:
authorHiroki Sato <hrs@FreeBSD.org>2011-06-08 04:06:56 +0000
committerHiroki Sato <hrs@FreeBSD.org>2011-06-08 04:06:56 +0000
commitb4da9fbccda100db9a1d312914227875025859da (patch)
tree25a06756a7c830b8667130a33fbbc4426f9c15f0 /usr.sbin/rtsold/rtsol.c
parentffe8cd7b104ecc8969ec36c065629f1b70c3b3f5 (diff)
- Disable "resolvconf -d" temporarily to avoid extra invocations of the script
under a certain condition. - Fix argv handling. Spotted by: ume
Notes
Notes: svn path=/head/; revision=222848
Diffstat (limited to 'usr.sbin/rtsold/rtsol.c')
-rw-r--r--usr.sbin/rtsold/rtsol.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.sbin/rtsold/rtsol.c b/usr.sbin/rtsold/rtsol.c
index afa935e72da7..fe8bfaf5d08e 100644
--- a/usr.sbin/rtsold/rtsol.c
+++ b/usr.sbin/rtsold/rtsol.c
@@ -625,8 +625,10 @@ free1:
if (!TAILQ_EMPTY(&sm_rdnss_head))
CALL_SCRIPT(RESADD, &sm_rdnss_head);
+#if 0
else
CALL_SCRIPT(RESDEL, NULL);
+#endif
ra_opt_handler_freeit:
/* Clear script message queue. */