diff options
Diffstat (limited to 'pcap_lookupnet.3pcap')
-rw-r--r-- | pcap_lookupnet.3pcap | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/pcap_lookupnet.3pcap b/pcap_lookupnet.3pcap index a3d14ae..f609445 100644 --- a/pcap_lookupnet.3pcap +++ b/pcap_lookupnet.3pcap @@ -17,7 +17,7 @@ .\" WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF .\" MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. .\" -.TH PCAP_LOOKUPNET 3PCAP "5 April 2008" +.TH PCAP_LOOKUPNET 3PCAP "25 July 2018" .SH NAME pcap_lookupnet \- find the IPv4 network number and netmask for a device .SH SYNOPSIS @@ -51,8 +51,11 @@ are pointers. .SH RETURN VALUE .B pcap_lookupnet() -returns 0 on success and \-1 on failure. -If \-1 is returned, +returns 0 on success and +.B PCAP_ERROR +on failure. If +.B PCAP_ERROR +is returned, .I errbuf is filled in with an appropriate error message. .I errbuf |