From af9d96bc93f99cd1dce128d931564c58fe23247c Mon Sep 17 00:00:00 2001 From: Rosy Song Date: Wed, 20 Feb 2019 19:01:12 +0800 Subject: [PATCH 1/2] nft-qos: fix missing double semicolon in case Signed-off-by: Rosy Song --- net/nft-qos/Makefile | 4 ++-- net/nft-qos/files/lib/priority.sh | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/net/nft-qos/Makefile b/net/nft-qos/Makefile index b0d548af0..7951a0d71 100644 --- a/net/nft-qos/Makefile +++ b/net/nft-qos/Makefile @@ -8,8 +8,8 @@ include $(TOPDIR)/rules.mk PKG_NAME:=nft-qos -PKG_VERSION:=1.0.4 -PKG_RELEASE:=2 +PKG_VERSION:=1.0.5 +PKG_RELEASE:=1 PKG_LICENSE:=GPL-2.0 PKG_MAINTAINER:=Rosy Song diff --git a/net/nft-qos/files/lib/priority.sh b/net/nft-qos/files/lib/priority.sh index 02dc2c6ae..081b13f48 100644 --- a/net/nft-qos/files/lib/priority.sh +++ b/net/nft-qos/files/lib/priority.sh @@ -84,6 +84,7 @@ qosdef_init_priority() { ;; wan*) network_get_device ifname "$priority_netdev" || \ ifname="$(uci_get network.$priority_netdev.ifname)" + ;; esac qosdef_appendx "table netdev nft-qos-priority {\n" From 8dae40873c2f8fc0a2bba7bec4f78fa0a7458b6e Mon Sep 17 00:00:00 2001 From: Rosy Song Date: Wed, 20 Feb 2019 19:01:56 +0800 Subject: [PATCH 2/2] nft-qos: improve document for priority module Signed-off-by: Rosy Song --- net/nft-qos/Makefile | 2 +- net/nft-qos/files/nft-qos.config | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/net/nft-qos/Makefile b/net/nft-qos/Makefile index 7951a0d71..ed3ff441f 100644 --- a/net/nft-qos/Makefile +++ b/net/nft-qos/Makefile @@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=nft-qos -PKG_VERSION:=1.0.5 +PKG_VERSION:=1.0.6 PKG_RELEASE:=1 PKG_LICENSE:=GPL-2.0 diff --git a/net/nft-qos/files/nft-qos.config b/net/nft-qos/files/nft-qos.config index d18949007..82e3b3928 100644 --- a/net/nft-qos/files/nft-qos.config +++ b/net/nft-qos/files/nft-qos.config @@ -77,8 +77,9 @@ config default default # Traffic Priority Samples : # # protocol : tcp, udp, udplite, sctp, dccp, tcp is default -# priority : integer between 1-11, 1 is default -# service : you can input a integer or service name, e.g. '22', '11-22', 'telnet', 'ssh, http, ftp', etc +# priority : integer between 1-11, 1 is default and the highest +# service : you can input a integer or service name, +# e.g. '22', '11-22', 'telnet', 'ssh, http, ftp', etc # #config priority # option protocol 'tcp'