diff options
Diffstat (limited to 'etc/inc/shaper.inc')
-rw-r--r-- | etc/inc/shaper.inc | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/etc/inc/shaper.inc b/etc/inc/shaper.inc index 4350d88..d2598b2 100644 --- a/etc/inc/shaper.inc +++ b/etc/inc/shaper.inc @@ -476,7 +476,9 @@ function filter_generate_pf_altq_rules() { } } } else if ($rule['source']['address']) { - $src = $rule['source']['address']; + $src = alias_expand($rule['source']['address']); + if(!$src) + $src = $rule['source']['address']; } if (!$src) { @@ -535,7 +537,9 @@ function filter_generate_pf_altq_rules() { } } } else if ($rule['destination']['address']) { - $dst = $rule['destination']['address']; + $dst = alias_expand($rule['destination']['address']); + if(!$dst) + $dst = $rule['destination']['address']; } if (!$dst) { |