1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72
|
From: Roland Rosenfeld <roland@debian.org>
Date: Wed, 25 Jun 2025 09:29:19 +0200
Forwarded: https://github.com/jonathanstowe/Net-SNMP-Interfaces/pull/2
Subject: Fix some pod syntax errors and typos
--- a/lib/Net/SNMP/Interfaces.pm
+++ b/lib/Net/SNMP/Interfaces.pm
@@ -104,7 +104,7 @@ The UDP port that the SNMP service is li
=item Version
The SNMP version (as described in the L<Net::SNMP> documentation) to be
-used. The default is 'snmpv1'. Support for SNMPv3 is currently somehwat
+used. The default is 'snmpv1'. Support for SNMPv3 is currently somewhat
limited.
=back
@@ -217,7 +217,7 @@ sub if_names
=item if_indices()
Returns a list of the indices of the interfaces - this probably shouldn't
-be necessary but is here for completeness anyway. If you dont know what
+be necessary but is here for completeness anyway. If you don't know what
the index is for you are safe to ignore this.
=cut
@@ -247,7 +247,7 @@ sub error
Returns the Net::SNMP session object for this instance. Or a false value
if there is no open session. This might be used to call methods on the
-Net::SNMP object if some facility is needed that isnt supplied by this
+Net::SNMP object if some facility is needed that isn't supplied by this
module.
=cut
@@ -293,6 +293,8 @@ sub all_interfaces
Returns a Net::SNMP::Interfaces::Details object for the named interface.
Returns undef if the supplied name is not a known interface.
+=back
+
=cut
sub interface
--- a/lib/Net/SNMP/Interfaces/Details.pm
+++ b/lib/Net/SNMP/Interfaces/Details.pm
@@ -49,7 +49,7 @@ Net::SNMP::Interfaces::Details - Object
=head1 DESCRIPTION
This class represents an individual interface as discovered by
-Net::SNMP::Interfaces. Although it is possible to call the contructor
+Net::SNMP::Interfaces. Although it is possible to call the constructor
directly it is primarily intended that these objects should be returned
by methods of Net::SNMP::Interfaces.
@@ -678,6 +678,8 @@ rfc2863:
These methods may not be available from all network elements and
in those cases they will return undef.
+=over
+
=item ifName
The textual name of the interface. The value of this object should be
@@ -880,6 +882,8 @@ any Counter32 or Counter64 object contai
If no such discontinuities have occurred since the last re- initialization
of the local management subsystem, then this object contains a zero value.
+=back
+
=cut
sub AUTOLOAD
|