From b96793bd7222d61a546ab412a2ed43e325288bcc Mon Sep 17 00:00:00 2001 From: Oliver Gorwits Date: Sat, 2 Aug 2014 08:19:34 +0100 Subject: [PATCH] Fix POD errors in Nbtstat and ResultSet::Device --- Netdisco/Changes | 1 + Netdisco/lib/App/Netdisco/Core/Nbtstat.pm | 2 +- Netdisco/lib/App/Netdisco/DB/ResultSet/Device.pm | 2 ++ 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Netdisco/Changes b/Netdisco/Changes index ae262886..7cce2611 100644 --- a/Netdisco/Changes +++ b/Netdisco/Changes @@ -15,6 +15,7 @@ * Missing action to netdisco-do should not throw Perl error * Sort CDP/LLDP data to be more consistent when multiple neighbors on a port + * Fix POD errors in Nbtstat and ResultSet::Device (thanks cpants :) 2.028013 - 2014-07-31 diff --git a/Netdisco/lib/App/Netdisco/Core/Nbtstat.pm b/Netdisco/lib/App/Netdisco/Core/Nbtstat.pm index 2a70a9fc..4c66b1cf 100644 --- a/Netdisco/lib/App/Netdisco/Core/Nbtstat.pm +++ b/Netdisco/lib/App/Netdisco/Core/Nbtstat.pm @@ -140,7 +140,7 @@ sub _filter_nbname { return; } -=item store_nbt($nb_hash_ref, $now?) +=head2 store_nbt($nb_hash_ref, $now?) Stores entries in C table from the provided hash reference; MAC C, IP C, Unique NetBIOS Node Name C, NetBIOS Domain or diff --git a/Netdisco/lib/App/Netdisco/DB/ResultSet/Device.pm b/Netdisco/lib/App/Netdisco/DB/ResultSet/Device.pm index c2cca09e..79050cff 100644 --- a/Netdisco/lib/App/Netdisco/DB/ResultSet/Device.pm +++ b/Netdisco/lib/App/Netdisco/DB/ResultSet/Device.pm @@ -461,6 +461,8 @@ sub has_layer { return $rs->search_rs( \[ 'substring(layers,9-?, 1)::int = 1', $layer ] ); } +=back + =head2 get_models Returns a sorted list of Device models with the following columns only: