diff --git a/confluent_server/confluent/neighutil.py b/confluent_server/confluent/neighutil.py index de0d3ff2..cd08e8bd 100644 --- a/confluent_server/confluent/neighutil.py +++ b/confluent_server/confluent/neighutil.py @@ -97,7 +97,7 @@ def get_hwaddr(ipaddr): _update_neigh() updated = True hwaddr = neightable.get(ipaddr, None) - if not hwaddr and not netutil.ip_is_local(ipaddr): + if not hwaddr and not netutil.ipn_is_local(ipaddr): hwaddr = False if hwaddr == None and not updated: _update_neigh() @@ -109,4 +109,4 @@ def get_hwaddr(ipaddr): if __name__ == '__main__': import sys - print(repr(get_hwaddr(sys.argv[1]))) \ No newline at end of file + print(repr(get_hwaddr(sys.argv[1])))