]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Fixed quoting for mac-addr-regexp
authorHerwin Weststrate <herwin@quarantainenet.nl>
Wed, 3 Sep 2014 13:21:01 +0000 (15:21 +0200)
committerAlan T. DeKok <aland@freeradius.org>
Wed, 3 Sep 2014 13:41:34 +0000 (09:41 -0400)
Otherwise, a "Parse error: Unterminated string" is thrown

raddb/policy.d/canonicalization

index 188d130eb344d33a943f3568460a1d2bfae77355..d63fb5d4a693b2013c232a41493bcbef13a10f74 100644 (file)
@@ -48,7 +48,7 @@ split_username_nai.post-proxy {
 #
 #  Normalize the MAC Addresses in the Calling/Called-Station-Id
 #
-mac-addr-regexp = '([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})"
+mac-addr-regexp = '([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})'
 
 #
 #  Add "rewrite_called_station_id" in the "authorize" and