commit | 17ad9c6d7879ef4ff20dbcd96af96a67ca98d400 | [log] [tgz] |
---|---|---|
author | H. Peter Anvin <hpa@zytor.com> | Mon Dec 08 01:44:27 2003 +0000 |
committer | H. Peter Anvin <hpa@zytor.com> | Mon Dec 08 01:44:27 2003 +0000 |
tree | 78dd014f2c1e16473332be75f326935a89e920a0 | |
parent | 6798b7a2fb43c03a04ce31c9cc82200cbe25ec68 [diff] |
Don't define ntoa() unless we're debugging
diff --git a/ipconfig/packet.c b/ipconfig/packet.c index aaeafb4..277d2b9 100644 --- a/ipconfig/packet.c +++ b/ipconfig/packet.c
@@ -99,11 +99,13 @@ }, }; +#ifdef IPC_DEBUG /* Only used by DEBUG(()) */ static char *ntoa(__u32 addr) { struct in_addr in = { addr }; return inet_ntoa(in); } +#endif /* * Send a packet. The options are listed in iov[1...iov_len].