Difan Zhao wrote:

Hey guys,

So I finally started configuring this *MAC auth bypass* thing... I am editing the *raddb/policy.conf* to include the "*rewrite_calling_station_id*" function/module however when I am trying to run the *radiusd –X* I got this error:

"/etc/raddb/policy.conf[72]: Parse error in condition at: request:Calling-Station-Id =~ /00-A0-08-([0-9A-F]{2})-([[0-9A-F]{2})-([[0-9A-F]{2})/i)" error

Here is what I added in the policy.conf. I appended to the back of the file. I never changed anything else in this file.

Curly braces need to be inline... don't assume the parser is clever.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to