summaryrefslogtreecommitdiff
path: root/usr.sbin/npppd
diff options
context:
space:
mode:
authorYASUOKA Masahiko <yasuoka@cvs.openbsd.org>2024-08-02 12:43:56 +0000
committerYASUOKA Masahiko <yasuoka@cvs.openbsd.org>2024-08-02 12:43:56 +0000
commit0e714c87a6ed721f54efb6b0cdfbff272491c3f6 (patch)
tree8d08f7f6f729f5df06872e59a39dad367c1a58cc /usr.sbin/npppd
parentc7db3a47257155522dad9fa01445f1ff555daee1 (diff)
Backout previous. It was incompleted and too early.
Diffstat (limited to 'usr.sbin/npppd')
-rw-r--r--usr.sbin/npppd/npppd/npppd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/npppd/npppd/npppd.c b/usr.sbin/npppd/npppd/npppd.c
index b9f68b3fd27..ed1a138e13a 100644
--- a/usr.sbin/npppd/npppd/npppd.c
+++ b/usr.sbin/npppd/npppd/npppd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: npppd.c,v 1.55 2024/08/01 00:05:16 yasuoka Exp $ */
+/* $OpenBSD: npppd.c,v 1.56 2024/08/02 12:43:55 yasuoka Exp $ */
/*-
* Copyright (c) 2005-2008,2009 Internet Initiative Japan Inc.
@@ -29,7 +29,7 @@
* Next pppd(nppd). This file provides a npppd daemon process and operations
* for npppd instance.
* @author Yasuoka Masahiko
- * $Id: npppd.c,v 1.55 2024/08/01 00:05:16 yasuoka Exp $
+ * $Id: npppd.c,v 1.56 2024/08/02 12:43:55 yasuoka Exp $
*/
#include "version.h"
#include <sys/param.h> /* ALIGNED_POINTER */
@@ -608,7 +608,7 @@ npppd_reset_routing_table(npppd *_this, int pool_only)
if (is_first)
in_route_add(&snp->snp_addr,
&snp->snp_mask, &loop,
- LOOPBACK_IFNAME, RTF_REJECT, 0);
+ LOOPBACK_IFNAME, RTF_BLACKHOLE, 0);
break;
case SNP_PPP: