aboutsummaryrefslogtreecommitdiffstats
path: root/nametoaddr.c
diff options
context:
space:
mode:
authorguy <guy>2001-06-27 05:11:48 +0000
committerguy <guy>2001-06-27 05:11:48 +0000
commit70836ff6e90625d594eaa5ce8b2f84b77deb067b (patch)
tree4c53664124d4655b53ed2c8ac352afc51be5fa80 /nametoaddr.c
parent7aa547ff09bd923b7cc486e1366982193c0aeb8e (diff)
Put a "return (0);" into "__pcap_nametodnaddr()" to squelch complaints
the Digital^H^H^H^H^H^H^HTru64 UNIX C compiler.
Diffstat (limited to 'nametoaddr.c')
-rw-r--r--nametoaddr.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/nametoaddr.c b/nametoaddr.c
index 76ab5e9..63e14ac 100644
--- a/nametoaddr.c
+++ b/nametoaddr.c
@@ -24,7 +24,7 @@
#ifndef lint
static const char rcsid[] =
- "@(#) $Header: /tcpdump/master/libpcap/nametoaddr.c,v 1.58 2001-01-17 18:18:49 guy Exp $ (LBL)";
+ "@(#) $Header: /tcpdump/master/libpcap/nametoaddr.c,v 1.59 2001-06-27 05:11:48 guy Exp $ (LBL)";
#endif
#ifdef HAVE_CONFIG_H
@@ -404,5 +404,6 @@ __pcap_nametodnaddr(const char *name)
#else
bpf_error("decnet name support not included, '%s' cannot be translated\n",
name);
+ return(0);
#endif
}