summaryrefslogtreecommitdiff
path: root/sys/net/if_pppx.c
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2013-05-31 19:16:53 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2013-05-31 19:16:53 +0000
commitad7b44d397835c1db78fd0e2503e49b5c856ccfc (patch)
treed906f608b282574517b6003d3fee39827bc25ec0 /sys/net/if_pppx.c
parent167475d2342ef87069fb78ddf8841e0337e52eca (diff)
Remove the scrub argument from in_ifinit() and simply call in_ifscrub()
unconditionally for SIOCSIFADDR. ok bluhm@, henning@
Diffstat (limited to 'sys/net/if_pppx.c')
-rw-r--r--sys/net/if_pppx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/if_pppx.c b/sys/net/if_pppx.c
index 836a6b2b8f9..9e27a5bd48b 100644
--- a/sys/net/if_pppx.c
+++ b/sys/net/if_pppx.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_pppx.c,v 1.18 2013/04/10 01:35:55 guenther Exp $ */
+/* $OpenBSD: if_pppx.c,v 1.19 2013/05/31 19:16:52 mpi Exp $ */
/*
* Copyright (c) 2010 Claudio Jeker <claudio@openbsd.org>
@@ -915,7 +915,7 @@ pppx_add_session(struct pppx_dev *pxd, struct pipex_session_req *req)
ia->ia_netmask = ia->ia_sockmask.sin_addr.s_addr;
- error = in_ifinit(ifp, ia, &ifaddr, 0, 1);
+ error = in_ifinit(ifp, ia, &ifaddr, 1);
if (error) {
printf("pppx: unable to set addresses for %s, error=%d\n",
ifp->if_xname, error);