patch-2.4.19 linux-2.4.19/net/ipv4/utils.c
Next file: linux-2.4.19/net/ipv6/addrconf.c
Previous file: linux-2.4.19/net/ipv4/udp.c
Back to the patch index
Back to the overall index
- Lines: 22
- Date:
Fri Aug 2 17:39:46 2002
- Orig file:
linux-2.4.18/net/ipv4/utils.c
- Orig date:
Tue Oct 10 10:33:52 2000
diff -urN linux-2.4.18/net/ipv4/utils.c linux-2.4.19/net/ipv4/utils.c
@@ -43,21 +43,6 @@
/*
- * Display an IP address in readable format.
- */
-
-char *in_ntoa(__u32 in)
-{
- static char buff[18];
- char *p;
-
- p = (char *) ∈
- sprintf(buff, "%d.%d.%d.%d",
- (p[0] & 255), (p[1] & 255), (p[2] & 255), (p[3] & 255));
- return(buff);
-}
-
-/*
* Convert an ASCII string to binary IP.
*/
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)