From 2bc2736da4e3aa6aa41fe21942217d49a8fc9110 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Thu, 8 Sep 2022 16:07:04 -0400 Subject: [PATCH] Fix neighutil invocation of ipn_is_local --- confluent_server/confluent/neighutil.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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])))