Use proper variables for interface names in examples.

This commit is contained in:
tsutsui 2023-07-31 16:09:01 +00:00
parent 32086bc3c0
commit 2d72037083
2 changed files with 6 additions and 6 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: host-npf.conf,v 1.11 2019/09/21 11:46:25 sevan Exp $
# $NetBSD: host-npf.conf,v 1.12 2023/07/31 16:09:01 tsutsui Exp $
#
# Simple ruleset for a host with (i.e., not routing) two interfaces,
# ethernet and wifi.
@ -16,8 +16,8 @@
$wired_if = "wm0"
$wifi_if = "iwn0"
$wired_addrs= ifaddrs(wm0)
$wifi_addrs = ifaddrs(iwn0)
$wired_addrs= ifaddrs($wired_if)
$wifi_addrs = ifaddrs($wifi_if)
alg "icmp"

View File

@ -1,4 +1,4 @@
# $NetBSD: soho_gw-npf.conf,v 1.20 2019/11/18 22:27:27 sevan Exp $
# $NetBSD: soho_gw-npf.conf,v 1.21 2023/07/31 16:09:01 tsutsui Exp $
#
# SOHO border
#
@ -7,8 +7,8 @@
#
$ext_if = "wm0"
$ext_v4 = inet4(wm0)
$ext_addrs = ifaddrs(wm0)
$ext_v4 = inet4($ext_if)
$ext_addrs = ifaddrs($ext_if)
$int_if = "wm1"