summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomek Dubrownik <t.dubrownik@gmail.com>2012-02-17 12:11:29 +0100
committerTomek Dubrownik <t.dubrownik@gmail.com>2012-02-17 12:11:29 +0100
commit7922f7c00efa5902e314ec757ed81921b65ac415 (patch)
treef560409a9da0c53dcae817bcbfaaa6d33c02fd9e
parenta12d6037a193063b170dc4e71062c1acc2f90b79 (diff)
downloadcheckinator-7922f7c00efa5902e314ec757ed81921b65ac415.tar.gz
checkinator-7922f7c00efa5902e314ec757ed81921b65ac415.tar.bz2
checkinator-7922f7c00efa5902e314ec757ed81921b65ac415.zip
forgot to strip ; in hwaddr
-rw-r--r--at.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/at.py b/at.py
index 5c48134..af4e89d 100644
--- a/at.py
+++ b/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: