[tools] firmware-utils/mktplinkfw: add support for the TL-WR841ND v3 board
[openwrt.git] / package / qos-scripts / files / usr / lib / qos / generate.sh
index 55ddf3c..6c52027 100755 (executable)
@@ -17,7 +17,6 @@ add_insmod() {
                reset_cb
                include /lib/network
                scan_interfaces
-               config_load /var/state/network
                config_get "$1" ifname
        )}
 } || {
@@ -60,16 +59,9 @@ parse_matching_rule() {
                        *:dsthost)
                                append "$var" "-d $value"
                        ;;
-                       *:ipp2p)
-                               add_insmod ipt_ipp2p
-                               append "$var" "-m ipp2p"
-                               case "$value" in
-                                       all) append "$var" "--edk --dc --kazaa --gnu --bit";;
-                                       *) append "$var" "--$value";;
-                               esac
-                       ;;
                        *:layer7)
                                add_insmod ipt_layer7
+                               add_insmod xt_layer7
                                append "$var" "-m layer7 --l7proto $value${pkt:+ --l7pkt}"
                        ;;
                        *:ports|*:srcports|*:dstports)
This page took 0.022148 seconds and 4 git commands to generate.