From facc41e31080cb74d252f60506a9e6e868d112b0 Mon Sep 17 00:00:00 2001 From: Oliver Gorwits Date: Sat, 17 Oct 2020 14:40:07 +0100 Subject: [PATCH] release 2.046005 --- Changes | 2 +- META.json | 4 ++-- META.yml | 4 ++-- lib/App/Netdisco.pm | 2 +- lib/App/Netdisco/DB/Result/DevicePort.pm | 2 +- lib/App/Netdisco/DB/Result/Node.pm | 2 +- lib/App/Netdisco/DB/Result/NodeIp.pm | 2 +- lib/App/Netdisco/DB/Result/NodeNbt.pm | 2 +- lib/App/Netdisco/DB/Result/NodeWireless.pm | 2 +- 9 files changed, 11 insertions(+), 11 deletions(-) diff --git a/Changes b/Changes index e5c190cc..e311a996 100644 --- a/Changes +++ b/Changes @@ -1,4 +1,4 @@ -2.046004 - 2020-10-17 +2.046005 - 2020-10-17 [ENHANCEMENTS] diff --git a/META.json b/META.json index 7671e567..7d8cbc5a 100644 --- a/META.json +++ b/META.json @@ -128,7 +128,7 @@ "provides" : { "App::Netdisco" : { "file" : "lib/App/Netdisco.pm", - "version" : "2.046004" + "version" : "2.046005" }, "App::Netdisco::AnyEvent::Nbtstat" : { "file" : "lib/App/Netdisco/AnyEvent/Nbtstat.pm" @@ -840,6 +840,6 @@ "x_IRC" : "irc://irc.freenode.org/#netdisco", "x_MailingList" : "https://lists.sourceforge.net/lists/listinfo/netdisco-users" }, - "version" : "2.046004", + "version" : "2.046005", "x_serialization_backend" : "JSON::PP version 2.97001" } diff --git a/META.yml b/META.yml index e1e97cbb..eb9b6163 100644 --- a/META.yml +++ b/META.yml @@ -23,7 +23,7 @@ name: App-Netdisco provides: App::Netdisco: file: lib/App/Netdisco.pm - version: '2.046004' + version: '2.046005' App::Netdisco::AnyEvent::Nbtstat: file: lib/App/Netdisco/AnyEvent/Nbtstat.pm App::Netdisco::Backend::Job: @@ -579,5 +579,5 @@ resources: homepage: http://netdisco.org/ license: http://opensource.org/licenses/BSD-3-Clause repository: https://github.com/netdisco/netdisco -version: '2.046004' +version: '2.046005' x_serialization_backend: 'CPAN::Meta::YAML version 0.018' diff --git a/lib/App/Netdisco.pm b/lib/App/Netdisco.pm index 33b8d2fa..aa734b67 100644 --- a/lib/App/Netdisco.pm +++ b/lib/App/Netdisco.pm @@ -4,7 +4,7 @@ use strict; use warnings; use 5.010_000; -our $VERSION = '2.046004'; +our $VERSION = '2.046005'; use App::Netdisco::Configuration; =head1 NAME diff --git a/lib/App/Netdisco/DB/Result/DevicePort.pm b/lib/App/Netdisco/DB/Result/DevicePort.pm index dae37ac0..93b936dd 100644 --- a/lib/App/Netdisco/DB/Result/DevicePort.pm +++ b/lib/App/Netdisco/DB/Result/DevicePort.pm @@ -418,7 +418,7 @@ Returns the C column instantiated into a L object. =cut -sub net_mac { return NetAddr::MAC->new(mac => ((shift)->mac) || '') } +sub net_mac { return NetAddr::MAC->new(mac => ((shift)->mac || '')) } =head2 last_comment diff --git a/lib/App/Netdisco/DB/Result/Node.pm b/lib/App/Netdisco/DB/Result/Node.pm index f898913a..af3c8587 100644 --- a/lib/App/Netdisco/DB/Result/Node.pm +++ b/lib/App/Netdisco/DB/Result/Node.pm @@ -193,6 +193,6 @@ Returns the C column instantiated into a L object. =cut -sub net_mac { return NetAddr::MAC->new(mac => ((shift)->mac) || '') } +sub net_mac { return NetAddr::MAC->new(mac => ((shift)->mac || '')) } 1; diff --git a/lib/App/Netdisco/DB/Result/NodeIp.pm b/lib/App/Netdisco/DB/Result/NodeIp.pm index b27a5cb9..00878c23 100644 --- a/lib/App/Netdisco/DB/Result/NodeIp.pm +++ b/lib/App/Netdisco/DB/Result/NodeIp.pm @@ -221,6 +221,6 @@ Returns the C column instantiated into a L object. =cut -sub net_mac { return NetAddr::MAC->new(mac => ((shift)->mac) || '') } +sub net_mac { return NetAddr::MAC->new(mac => ((shift)->mac || '')) } 1; diff --git a/lib/App/Netdisco/DB/Result/NodeNbt.pm b/lib/App/Netdisco/DB/Result/NodeNbt.pm index 67a23b06..67e1d67e 100644 --- a/lib/App/Netdisco/DB/Result/NodeNbt.pm +++ b/lib/App/Netdisco/DB/Result/NodeNbt.pm @@ -178,6 +178,6 @@ Returns the C column instantiated into a L object. =cut -sub net_mac { return NetAddr::MAC->new(mac => ((shift)->mac) || '') } +sub net_mac { return NetAddr::MAC->new(mac => ((shift)->mac || '')) } 1; diff --git a/lib/App/Netdisco/DB/Result/NodeWireless.pm b/lib/App/Netdisco/DB/Result/NodeWireless.pm index 2a33d4eb..675f1d4a 100644 --- a/lib/App/Netdisco/DB/Result/NodeWireless.pm +++ b/lib/App/Netdisco/DB/Result/NodeWireless.pm @@ -87,6 +87,6 @@ Returns the C column instantiated into a L object. =cut -sub net_mac { return NetAddr::MAC->new(mac => ((shift)->mac) || '') } +sub net_mac { return NetAddr::MAC->new(mac => ((shift)->mac || '')) } 1;