From 73c8979130292fa22357d2acdc08497d5afcfcc1 Mon Sep 17 00:00:00 2001 From: Oliver Gorwits Date: Sun, 19 May 2013 22:52:15 +0100 Subject: [PATCH] fix confusing name --- Netdisco/lib/App/Netdisco/Util/Arpnip.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Netdisco/lib/App/Netdisco/Util/Arpnip.pm b/Netdisco/lib/App/Netdisco/Util/Arpnip.pm index ce5f5318..7e0143e2 100644 --- a/Netdisco/lib/App/Netdisco/Util/Arpnip.pm +++ b/Netdisco/lib/App/Netdisco/Util/Arpnip.pm @@ -142,13 +142,13 @@ sub _check_and_store { debug sprintf ' [%s] arpnip - IP [%s] : mac [%s]', $device->ip, $ip, $node; - _add_arp($node, $ip); + _store_arp($node, $ip); return 1; } # add arp cache entry to the node_ip table -sub _add_arp { +sub _store_arp { my ($mac, $ip) = @_; schema('netdisco')->resultset('NodeIp')