Backout previous. It was incompleted and too early.
authoryasuoka <yasuoka@openbsd.org>
Fri, 2 Aug 2024 12:43:55 +0000 (12:43 +0000)
committeryasuoka <yasuoka@openbsd.org>
Fri, 2 Aug 2024 12:43:55 +0000 (12:43 +0000)
usr.sbin/npppd/npppd/npppd.c

index b9f68b3..ed1a138 100644 (file)
@@ -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: