Nasser Heidari wrote:
> I wanted to capture users mac address, so I've added a perl module , and
> after parsing cisco-av-pair attribute , I save it to DB.
> In normal situation everything works like a charm , but in some cases,
> If NAS doesn't send mac-address attribute, I expect to save a
> 0000.0000.0000 mac address in DB , but no success.
> There is a condition that I check if mac-address attribute exists in
> request or not, if exist it's ok , if not it should update request with
> a 0000.0000.0000 mac address.

  This can be done in the Perl script.  Just check if the attribute
exists in the request hash.

  Alan DeKok.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to