From 8c2165030d900f5b35ae8dc65acada88195bd264 Mon Sep 17 00:00:00 2001 From: Daniel STAN Date: Sun, 2 Mar 2014 02:08:53 +0100 Subject: [PATCH] =?UTF-8?q?freeradius:=20m=C3=A0j=20ipv6=20quand=20on=20en?= =?UTF-8?q?registre=20la=20mac?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- freeradius/auth.py | 1 + 1 file changed, 1 insertion(+) diff --git a/freeradius/auth.py b/freeradius/auth.py index 39deccc5..a4f23a2f 100644 --- a/freeradius/auth.py +++ b/freeradius/auth.py @@ -151,6 +151,7 @@ def register_mac(auth_data, machine, conn): radiusd.radlog(radiusd.L_INFO, 'Registering mac %s' % mac) machine['macAddress'] = mac machine.history_add(u'auth.py', u'macAddress ( -> %s)' % mac) + machine.validate_changes() machine.save() radiusd.radlog(radiusd.L_INFO, 'Mac set') radiusd.radlog(radiusd.L_INFO, 'Triggering komaz')