summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/command.c
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>1999-05-31 23:57:40 +0000
committerbrian <brian@FreeBSD.org>1999-05-31 23:57:40 +0000
commiteffd1329581e4951c2c0510fec1c97d88a8948ae (patch)
treec077d488204cbd35f49fd4f5a0d07c1965632500 /usr.sbin/ppp/command.c
parentaf9cf37e43c276b5ebe85c40a527b2004c7bb00c (diff)
downloadFreeBSD-src-effd1329581e4951c2c0510fec1c97d88a8948ae.zip
FreeBSD-src-effd1329581e4951c2c0510fec1c97d88a8948ae.tar.gz
Remember if MYADDR or HISADDR is used in a filter add tweak all
filters any time either value changes.
Diffstat (limited to 'usr.sbin/ppp/command.c')
-rw-r--r--usr.sbin/ppp/command.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/ppp/command.c b/usr.sbin/ppp/command.c
index c6b8d20..fdedb64 100644
--- a/usr.sbin/ppp/command.c
+++ b/usr.sbin/ppp/command.c
@@ -17,7 +17,7 @@
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
- * $Id: command.c,v 1.193 1999/05/12 09:48:44 brian Exp $
+ * $Id: command.c,v 1.194 1999/05/15 02:24:16 brian Exp $
*
*/
#include <sys/param.h>
@@ -143,7 +143,7 @@
#define NEG_DNS 52
const char Version[] = "2.21";
-const char VersionDate[] = "$Date: 1999/05/12 09:48:44 $";
+const char VersionDate[] = "$Date: 1999/05/15 02:24:16 $";
static int ShowCommand(struct cmdargs const *);
static int TerminalCommand(struct cmdargs const *);
@@ -1312,6 +1312,7 @@ SetInterfaceAddr(struct cmdargs const *arg)
ipcp->cfg.my_range.width = 0;
}
ipcp->my_ip.s_addr = ipcp->cfg.my_range.ipaddr.s_addr;
+ bundle_AdjustFilters(arg->bundle, &ipcp->my_ip, NULL);
if (hisaddr && !ipcp_UseHisaddr(arg->bundle, hisaddr,
arg->bundle->phys_type.all & PHYS_AUTO))
OpenPOWER on IntegriCloud