Module Name: src
Committed By: yamaguchi
Date: Fri Apr 23 03:40:05 UTC 2021
Modified Files:
src/tests/net/if_pppoe: t_pppoe.sh
Log Message:
Make IFF_DEBUG enabled if $DEBUG is true
To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 src/tests/net/if_pppoe/t_pppoe.sh
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/tests/net/if_pppoe/t_pppoe.sh
diff -u src/tests/net/if_pppoe/t_pppoe.sh:1.26 src/tests/net/if_pppoe/t_pppoe.sh:1.27
--- src/tests/net/if_pppoe/t_pppoe.sh:1.26 Fri Apr 23 03:38:19 2021
+++ src/tests/net/if_pppoe/t_pppoe.sh Fri Apr 23 03:40:05 2021
@@ -1,4 +1,4 @@
-# $NetBSD: t_pppoe.sh,v 1.26 2021/04/23 03:38:19 yamaguchi Exp $
+# $NetBSD: t_pppoe.sh,v 1.27 2021/04/23 03:40:05 yamaguchi Exp $
#
# Copyright (c) 2016 Internet Initiative Japan Inc.
# All rights reserved.
@@ -88,6 +88,7 @@ setup_ifaces()
inet $SERVER_IP $CLIENT_IP down
atf_ifconfig pppoe0 link0
+ $DEBUG && rump.ifconfig pppoe0 debug
$DEBUG && rump.ifconfig
$DEBUG && $HIJACKING pppoectl -d pppoe0
unset RUMP_SERVER
@@ -98,6 +99,7 @@ setup_ifaces()
$inet && atf_ifconfig pppoe0 \
inet 0.0.0.0 0.0.0.1 down
+ $DEBUG && rump.ifconfig pppoe0 debug
$DEBUG && rump.ifconfig
$DEBUG && $HIJACKING pppoectl -d pppoe0
unset RUMP_SERVER