Fixed some typos from testing

This commit is contained in:
justinta89 2016-01-14 16:15:24 -07:00
parent 67d4997316
commit fac6c3f6ae

View file

@ -425,8 +425,8 @@ def check(set=None, entry=None, family='ipv4'):
else:
_entry = entry.split()[0]
_entry_extra = entry.split()[1:]
if entry.find('-') != -1 and entry.count('-') == 1:
start, end = entry.split('-')
if _entry.find('-') != -1 and _entry.count('-') == 1:
start, end = _entry.split('-')
if settype == 'hash:ip':
if _entry_extra: