diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2006-03-17 17:49:18 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2006-03-17 17:49:18 +0000 |
commit | 9d6150093f23b535b205199a76a1bdadc3afcea8 (patch) | |
tree | b830b9849088a4963416279ef8d419902f808e3d /etc | |
parent | 436a0f507bac8897f92045146e6e2ec88783a2ca (diff) | |
download | pfsense-9d6150093f23b535b205199a76a1bdadc3afcea8.zip pfsense-9d6150093f23b535b205199a76a1bdadc3afcea8.tar.gz |
MFC 10658
Don't concatenate to $dst here (will cause syntax errors in pf rules). also remove unecessary spaces.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/shaper.inc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/etc/inc/shaper.inc b/etc/inc/shaper.inc index 6b68bf4..76fa02d 100644 --- a/etc/inc/shaper.inc +++ b/etc/inc/shaper.inc @@ -473,7 +473,7 @@ function filter_generate_pf_altq_rules() { } if (isset($rule['source']['not'])) { - $src = " ! {$src} "; + $src = "!{$src}"; } $line .= "from {$src} "; @@ -537,7 +537,7 @@ function filter_generate_pf_altq_rules() { } if (isset($rule['destination']['not'])) { - $dst .= " ! {$dst} "; + $dst = "!{$dst}"; } $line .= "to {$dst} "; @@ -619,4 +619,4 @@ function filter_generate_pf_altq_rules() { return $shaperrules; } -?>
\ No newline at end of file +?> |