fix confusing name

This commit is contained in:
Oliver Gorwits
2013-05-19 22:52:15 +01:00
parent bf78e82411
commit 73c8979130

View File

@@ -142,13 +142,13 @@ sub _check_and_store {
debug sprintf ' [%s] arpnip - IP [%s] : mac [%s]', debug sprintf ' [%s] arpnip - IP [%s] : mac [%s]',
$device->ip, $ip, $node; $device->ip, $ip, $node;
_add_arp($node, $ip); _store_arp($node, $ip);
return 1; return 1;
} }
# add arp cache entry to the node_ip table # add arp cache entry to the node_ip table
sub _add_arp { sub _store_arp {
my ($mac, $ip) = @_; my ($mac, $ip) = @_;
schema('netdisco')->resultset('NodeIp') schema('netdisco')->resultset('NodeIp')