Project

General

Profile

« Previous | Next » 

Revision 6f6cc3c8

Added by Scott Ullrich over 19 years ago

Surround alias with {}

View differences:

etc/inc/filter.inc
1121 1121
					$not = "";
1122 1122

  
1123 1123
				if (stristr($expsrc, "$"))
1124
					$src = "{$not} " . alias_expand_value($rule['source']['address']);
1124
					$src = "{ {$not} " . alias_expand_value($rule['source']['address']) . " } ";
1125 1125
				else
1126 1126
					$src = "{ {$not} {$expsrc} }";
1127 1127
			}
......
1198 1198
					$not = "";
1199 1199

  
1200 1200
				if (stristr($expdst, "$"))
1201
					$dst = "{$not} " . alias_expand_value($rule['destination']['address']);
1201
					$dst = "{ {$not} " . alias_expand_value($rule['destination']['address']) . " } ";
1202 1202
				else
1203 1203
					$dst = "{ {$not} {$expdst} }";
1204 1204
			}

Also available in: Unified diff