rtsold: pass sending router address to other script as well
Partially based on an old pfSense modification that never made it to FreeBSD upstream. See: https://github.com/fichtner/pfsense-tools/commit/2a78e6483
This commit is contained in:
parent
f98928cd33
commit
d6ce6ebf4c
|
@ -94,7 +94,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
|
||||
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
.\"
|
||||
.\" $FreeBSD$
|
||||
.\"
|
||||
.Dd June 14, 2011
|
||||
.Dd July 28, 2017
|
||||
.Dt RTSOLD 8
|
||||
.Os
|
||||
.\"
|
||||
|
@ -215,7 +215,8 @@ When the flag changes from FALSE to TRUE,
|
|||
.Nm
|
||||
will invoke
|
||||
.Ar script-name
|
||||
with a single argument of the receiving interface name,
|
||||
with a first argument of the receiving interface name
|
||||
and a second argument of the sending router address,
|
||||
expecting the script will then start a protocol for the other
|
||||
configuration.
|
||||
.Ar script-name
|
||||
|
|
Loading…
Reference in New Issue