Module Name:    src
Committed By:   szptvlfn
Date:           Mon Aug  4 22:13:23 UTC 2014

Modified Files:
        src/share/examples/npf: host-npf.conf

Log Message:
use proper address, ok spz@.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/share/examples/npf/host-npf.conf

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/examples/npf/host-npf.conf
diff -u src/share/examples/npf/host-npf.conf:1.7 src/share/examples/npf/host-npf.conf:1.8
--- src/share/examples/npf/host-npf.conf:1.7	Sat May 31 11:54:37 2014
+++ src/share/examples/npf/host-npf.conf	Mon Aug  4 22:13:23 2014
@@ -1,4 +1,4 @@
-# $NetBSD: host-npf.conf,v 1.7 2014/05/31 11:54:37 spz Exp $
+# $NetBSD: host-npf.conf,v 1.8 2014/08/04 22:13:23 szptvlfn Exp $
 #
 # this is an example of NPF rules for a host (i.e., not routing) with
 # two network interfaces, wired and wifi
@@ -65,7 +65,7 @@ group "wired" on $wired_if {
 
 	pass stateful in final family inet6 proto udp to $wired_v6 \
 		port $services_udp
-	pass stateful in final family inet4 proto udp to $wired_v6 \
+	pass stateful in final family inet4 proto udp to $wired_v4 \
 		port $services_udp
 
 	# only SYN packets need to generate state
@@ -93,7 +93,7 @@ group "wifi" on $wifi_if {
 	pass out final family inet6 proto ipv6-icmp from ff00::/10
 
 	pass in  final family inet6 proto ipv6-icmp to $wifi_v6
-	pass in  final family inet4 proto icmp      to $wifi_v6
+	pass in  final family inet4 proto icmp      to $wifi_v4
 
 	pass in  final family inet4 proto tcp \
 		from any port bootps to $wifi_v4 port bootpc

Reply via email to