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 188d130..d63fb5d 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