]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
Change protocol for UDP example
authorMichael Kerrisk <mtk.manpages@gmail.com>
Tue, 28 Jun 2005 11:57:06 +0000 (11:57 +0000)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Tue, 28 Jun 2005 11:57:06 +0000 (11:57 +0000)
man7/ip.7

index 836b46e74d84792a1ddcc60fda550d0c900b333a..d6027988290f7aa1170e8ab1160ed2572745c86e 100644 (file)
--- a/man7/ip.7
+++ b/man7/ip.7
@@ -19,10 +19,10 @@ ip \- Linux IPv4 protocol implementation
 .B #include <netinet/ip.h>        \fR/* superset of previous */
 .sp
 .IB tcp_socket " = socket(PF_INET, SOCK_STREAM, 0);"
+.br
+.IB udp_socket " = socket(PF_INET, SOCK_DGRAM, 0);"
 .br 
 .IB raw_socket " = socket(PF_INET, SOCK_RAW, " protocol ");"
-.br
-.IB udp_socket " = socket(PF_INET, SOCK_DGRAM, " protocol ");"
 .SH DESCRIPTION
 Linux implements the Internet Protocol, version 4, 
 described in RFC\ 791 and RFC\ 1122.