artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
df4df06
)
Do not set RTF_MASK, it is not used anymore.
author
mpi
<mpi@openbsd.org>
Thu, 14 Aug 2014 08:08:00 +0000
(08:08 +0000)
committer
mpi
<mpi@openbsd.org>
Thu, 14 Aug 2014 08:08:00 +0000
(08:08 +0000)
ok yasuoka@
usr.sbin/npppd/npppd/npppd_subr.c
patch
|
blob
|
history
diff --git
a/usr.sbin/npppd/npppd/npppd_subr.c
b/usr.sbin/npppd/npppd/npppd_subr.c
index
1e9cd43
..
635733d
100644
(file)
--- a/
usr.sbin/npppd/npppd/npppd_subr.c
+++ b/
usr.sbin/npppd/npppd/npppd_subr.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: npppd_subr.c,v 1.1
2 2014/06/13 06:35:58 yasuoka
Exp $ */
+/* $OpenBSD: npppd_subr.c,v 1.1
3 2014/08/14 08:08:00 mpi
Exp $ */
/*-
* Copyright (c) 2009 Internet Initiative Japan Inc.
@@
-175,8
+175,6
@@
in_route0(int type, struct in_addr *dest, struct in_addr *mask,
rtm->rtm_flags |= RTF_GATEWAY;
if (mask == NULL)
rtm->rtm_flags |= RTF_HOST;
- else
- rtm->rtm_flags |= RTF_MASK;
if (type == RTM_ADD && mtu > 0) {
rtm->rtm_inits = RTV_MTU;