gentoo-ebuilds/net-misc/htbinit/files/prio_rule.patch
Ulrich Müller a7696163d0
net-misc/htbinit/files: Update patches
Some of them applied only with a fuzz factor.

Signed-off-by: Ulrich Müller <ulm@gentoo.org>
2023-11-22 19:56:27 +01:00

20 lines
563 B
Diff

--- a/htb.init
+++ b/htb.init
@@ -458,7 +458,7 @@
### Load & filter file $HTB_PATH/$1
htb_filter_file () {
sed -n "s/#.*//; s/[^a-zA-Z0-9.,;:=/*-_]\+//g; \
- /^[a-zA-Z0-9]\+=[a-zA-Z0-9.,:;/*-_]\+$/ p" $HTB_PATH/$1
+ /^[a-zA-Z0-9_]\+=[a-zA-Z0-9.,:;/*-_]\+$/ p" $HTB_PATH/$1
} # htb_filter_file
@@ -522,7 +522,7 @@
htb_filter_file () {
sed 's/#.*//; s/[^a-zA-Z0-9.,;:=/*-_]\+//g' $HTB_PATH/$1 \
- | grep '^[a-zA-Z0-9]\+=[a-zA-Z0-9.,;:/*-_]\+$'
+ | grep '^[a-zA-Z0-9_]\+=[a-zA-Z0-9.,;:/*-_]\+$'
} # htb_filter_file
htb_clsid_chain () {