From f252bd753c802f18d506ffb97ea996c51e0fde88 Mon Sep 17 00:00:00 2001 From: mpi Date: Thu, 14 Aug 2014 08:08:00 +0000 Subject: [PATCH] Do not set RTF_MASK, it is not used anymore. ok yasuoka@ --- usr.sbin/npppd/npppd/npppd_subr.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/usr.sbin/npppd/npppd/npppd_subr.c b/usr.sbin/npppd/npppd/npppd_subr.c index 1e9cd437370..635733d310e 100644 --- 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.12 2014/06/13 06:35:58 yasuoka Exp $ */ +/* $OpenBSD: npppd_subr.c,v 1.13 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; -- 2.20.1