diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2013-08-08 07:39:14 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2013-08-08 07:39:14 +0000 |
commit | d39c3b5276f1080752417aae1e82557e11a6a9c5 (patch) | |
tree | c06ff9fe9ccba7eb55921e74d1f2e5873d7b1323 /sys/net/if_pppx.c | |
parent | 22562d85c38d4b12fba904eb2fb4620cb66702a8 (diff) |
Insert new IPv4 addresses in only one place, no functional change.
ok mikeb@, henning@
Diffstat (limited to 'sys/net/if_pppx.c')
-rw-r--r-- | sys/net/if_pppx.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/net/if_pppx.c b/sys/net/if_pppx.c index fd6dcd82b78..1656a49eeb9 100644 --- a/sys/net/if_pppx.c +++ b/sys/net/if_pppx.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_pppx.c,v 1.23 2013/06/24 09:34:59 mpi Exp $ */ +/* $OpenBSD: if_pppx.c,v 1.24 2013/08/08 07:39:13 mpi Exp $ */ /* * Copyright (c) 2010 Claudio Jeker <claudio@openbsd.org> @@ -894,7 +894,6 @@ pppx_add_session(struct pppx_dev *pxd, struct pipex_session_req *req) ifaddr.sin_addr = req->pr_ip_srcaddr; ia = malloc(sizeof (*ia), M_IFADDR, M_WAITOK | M_ZERO); - TAILQ_INSERT_TAIL(&in_ifaddr, ia, ia_list); ia->ia_addr.sin_family = AF_INET; ia->ia_addr.sin_len = sizeof(struct sockaddr_in); |