Browse Source

Merge pull request #8372 from rosysong/nft-qos

nft qos: fix missing semicolon and document improvement
lilik-openwrt-22.03
Hannu Nyman 6 years ago
committed by GitHub
parent
commit
4a48e26568
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 4 deletions
  1. +2
    -2
      net/nft-qos/Makefile
  2. +1
    -0
      net/nft-qos/files/lib/priority.sh
  3. +3
    -2
      net/nft-qos/files/nft-qos.config

+ 2
- 2
net/nft-qos/Makefile View File

@ -8,8 +8,8 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=nft-qos
PKG_VERSION:=1.0.4
PKG_RELEASE:=2
PKG_VERSION:=1.0.6
PKG_RELEASE:=1
PKG_LICENSE:=GPL-2.0
PKG_MAINTAINER:=Rosy Song <rosysong@rosinson.com>


+ 1
- 0
net/nft-qos/files/lib/priority.sh View File

@ -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"


+ 3
- 2
net/nft-qos/files/nft-qos.config View File

@ -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'


Loading…
Cancel
Save