summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/ipv6cp.c
diff options
context:
space:
mode:
authorbz <bz@FreeBSD.org>2009-04-20 14:38:48 +0000
committerbz <bz@FreeBSD.org>2009-04-20 14:38:48 +0000
commitab7aea9843d0d2c703ba005eba637e7a49d9f753 (patch)
tree1b172c7715c6e39140b607524a21a7989e05b951 /usr.sbin/ppp/ipv6cp.c
parent24114749aa9a49d7dc6ab793a3cc29a66c23dac1 (diff)
downloadFreeBSD-src-ab7aea9843d0d2c703ba005eba637e7a49d9f753.zip
FreeBSD-src-ab7aea9843d0d2c703ba005eba637e7a49d9f753.tar.gz
Conditionally add the interface name and address if available
so that a ppp running in `receiver' (server) mode can properly update routes, for example to update the MTU. Submitted by: loos.br gmail.com (Luiz Otavio O Souza) PR: bin/130159 PR: kern/125079, kern/122068, bin/126892 MFC after: 3 days
Diffstat (limited to 'usr.sbin/ppp/ipv6cp.c')
-rw-r--r--usr.sbin/ppp/ipv6cp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/ppp/ipv6cp.c b/usr.sbin/ppp/ipv6cp.c
index 06b003b..4557188 100644
--- a/usr.sbin/ppp/ipv6cp.c
+++ b/usr.sbin/ppp/ipv6cp.c
@@ -245,7 +245,7 @@ ipcp_SetIPv6address(struct ipv6cp *ipv6cp, u_char *myifid, u_char *hisifid)
ncpaddr_getsa(&ipv6cp->hisaddr, &ssdst);
else
sadst = NULL;
- rt_Update(bundle, sadst, sagw, samask);
+ rt_Update(bundle, sadst, sagw, samask, NULL, NULL);
}
if (Enabled(bundle, OPT_SROUTES))
OpenPOWER on IntegriCloud