prio_rule.patch 636 B

123456789101112131415161718192021
  1. --- htb.init.old 2004-01-29 22:41:23.000000000 +0100
  2. +++ htb.init 2006-09-08 00:03:32.000000000 +0200
  3. @@ -453,7 +457,7 @@
  4. ### Load & filter file $HTB_PATH/$1
  5. htb_filter_file () {
  6. sed -n "s/#.*//; s/[^a-zA-Z0-9.,;:=/*-_]\+//g; \
  7. - /^[a-zA-Z0-9]\+=[a-zA-Z0-9.,:;/*-_]\+$/ p" $HTB_PATH/$1
  8. + /^[a-zA-Z0-9_]\+=[a-zA-Z0-9.,:;/*-_]\+$/ p" $HTB_PATH/$1
  9. } # htb_filter_file
  10. @@ -517,7 +521,7 @@
  11. htb_filter_file () {
  12. sed 's/#.*//; s/[^a-zA-Z0-9.,;:=/*-_]\+//g' $HTB_PATH/$1 \
  13. - | grep '^[a-zA-Z0-9]\+=[a-zA-Z0-9.,;:/*-_]\+$'
  14. + | grep '^[a-zA-Z0-9_]\+=[a-zA-Z0-9.,;:/*-_]\+$'
  15. } # htb_filter_file
  16. htb_clsid_chain () {