forgot to strip ; in hwaddr
This commit is contained in:
parent
a12d6037a1
commit
7922f7c00e
1 changed files with 1 additions and 1 deletions
2
at.py
2
at.py
|
@ -171,7 +171,7 @@ class DhcpdUpdater(MtimeUpdater):
|
|||
if(field == 'client-hostname'):
|
||||
name = cmd[1]
|
||||
if(field == 'hardware'):
|
||||
hwaddr = cmd[2]
|
||||
hwaddr = cmd[2][:-1]
|
||||
if(field.startswith('}')):
|
||||
lease = False
|
||||
if hwaddr:
|
||||
|
|
Loading…
Reference in a new issue