* [dtaht/ceropackages-3.10] a35712: Generalize get_ifb_associated_with_if's IFB name e...
@ 2014-10-05 20:37 GitHub
0 siblings, 0 replies; only message in thread
From: GitHub @ 2014-10-05 20:37 UTC (permalink / raw)
To: cerowrt-commits
[-- Attachment #1: Type: text/plain, Size: 1211 bytes --]
Branch: refs/heads/master
Home: https://github.com/dtaht/ceropackages-3.10
Commit: a357122349b4ece391a0e04d00f5cc151e488cef
https://github.com/dtaht/ceropackages-3.10/commit/a357122349b4ece391a0e04d00f5cc151e488cef
Author: Sebastian Moeller <moeller0@gmx.de>
Date: 2014-10-05 (Sun, 05 Oct 2014)
Changed paths:
M net/sqm-scripts/files/usr/lib/sqm/functions.sh
Log Message:
-----------
Generalize get_ifb_associated_with_if's IFB name extraction regular expression
Instead of searching for a name like ifb0 by grepping for ifb followed by a digit,
extract the whole string starting with ifb up to (and excluding) the closing parenthesis
of "tc -p filter show parent ffff: dev $DEV" output. Example output follows:
filter protocol all pref 10 u32
filter protocol all pref 10 u32 fh 800: ht divisor 1
filter protocol all pref 10 u32 fh 800::800 order 2048 key ht 800 bkt 0 flowid 1:1
match 00000000/00000000 at 0
action order 1: mirred (Egress Redirect to device ifb1) stolen
index 19 ref 1 bind 1 installed 10 sec
Action statistics:
Sent 2582 bytes 31 pkt (dropped 0, overlimits 0 requeues 0)
backlog 0b 0p requeues 0
So do not use ) as part of the proper IFB name...
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2014-10-05 20:37 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-10-05 20:37 [dtaht/ceropackages-3.10] a35712: Generalize get_ifb_associated_with_if's IFB name e GitHub
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox