summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuiz Otavio O Souza <luiz@netgate.com>2016-04-14 23:37:17 -0500
committerLuiz Otavio O Souza <luiz@netgate.com>2016-04-15 11:40:48 -0500
commitda4e972b334692e031d1f7deea7e4db02d1c0fdc (patch)
tree8ff4f03e1d210145403429d8262f56b9356f6221
parent71c9f3f971b796f8e93f13d3e3fa651915cbbc3b (diff)
downloadFreeBSD-src-da4e972b334692e031d1f7deea7e4db02d1c0fdc.zip
FreeBSD-src-da4e972b334692e031d1f7deea7e4db02d1c0fdc.tar.gz
Importing pfSense patch rtsol.diff
-rw-r--r--usr.sbin/rtsold/rtsol.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/rtsold/rtsol.c b/usr.sbin/rtsold/rtsol.c
index 118206a..ced0a73 100644
--- a/usr.sbin/rtsold/rtsol.c
+++ b/usr.sbin/rtsold/rtsol.c
@@ -92,7 +92,7 @@ static int ra_opt_rdnss_dispatch(struct ifinfo *, struct rainfo *,
struct script_msg_head_t *, struct script_msg_head_t *);
static char *make_rsid(const char *, const char *, struct rainfo *);
-#define _ARGS_OTHER otherconf_script, ifi->ifname
+#define _ARGS_OTHER otherconf_script, ifi->ifname, ntopbuf
#define _ARGS_RESADD resolvconf_script, "-a", rsid
#define _ARGS_RESDEL resolvconf_script, "-d", rsid
@@ -374,8 +374,8 @@ rtsol_input(int s)
warnmsg(LOG_DEBUG, __func__,
"OtherConfigFlag on %s is turned on", ifi->ifname);
ifi->otherconfig = 1;
- CALL_SCRIPT(OTHER, NULL);
}
+ CALL_SCRIPT(OTHER, NULL);
clock_gettime(CLOCK_MONOTONIC_FAST, &now);
newent_rai = 0;
rai = find_rainfo(ifi, &from);
OpenPOWER on IntegriCloud