Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/bsd/blacklist/libexec we are passing the port now



details:   https://anonhg.NetBSD.org/src/rev/86911eafc1f9
branches:  trunk
changeset: 806014:86911eafc1f9
user:      christos <christos%NetBSD.org@localhost>
date:      Tue Jan 27 19:49:37 2015 +0000

description:
we are passing the port now

diffstat:

 external/bsd/blacklist/libexec/blacklistd-helper |  17 ++---------------
 1 files changed, 2 insertions(+), 15 deletions(-)

diffs (32 lines):

diff -r 638c48abdd31 -r 86911eafc1f9 external/bsd/blacklist/libexec/blacklistd-helper
--- a/external/bsd/blacklist/libexec/blacklistd-helper  Tue Jan 27 19:40:36 2015 +0000
+++ b/external/bsd/blacklist/libexec/blacklistd-helper  Tue Jan 27 19:49:37 2015 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh
-echo "run $@" 1>&2
-set -x
+#echo "run $@" 1>&2
+#set -x
 # $1 command
 # $2 rulename
 # $3 protocol
@@ -11,19 +11,6 @@
 
 case "$1" in
 add)
-       # GRR!
-#      case $4 in
-#      *:*)
-#              case $5 in
-#              128)    addr=$4;;
-#              *)      addr=$4/$5;;
-#              esac;;
-#      *)
-#              case $5 in
-#              32)     addr=$4;;
-#              *)      addr=$4/$5;;
-#              esac;;
-#      esac
        exec /sbin/npfctl rule $2 add block in final proto $3 from $4/$5 to any port $6
        ;;
 rem)



Home | Main Index | Thread Index | Old Index