diff options
Diffstat (limited to 'share/man/man4/ip.4')
-rw-r--r-- | share/man/man4/ip.4 | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/share/man/man4/ip.4 b/share/man/man4/ip.4 index cf16d6543928..50a11c38631c 100644 --- a/share/man/man4/ip.4 +++ b/share/man/man4/ip.4 @@ -215,7 +215,8 @@ before transmission. This is in contrast to the default behavior of the system, which is to transmit undirected broadcasts via the first network interface with the -.Dv IFF_BROADCAST flag set. +.Dv IFF_BROADCAST +flag set. .Pp This option allows applications to choose which interface is used to transmit an undirected broadcast @@ -235,12 +236,14 @@ sendto(s, msg, sizeof(msg), 0, &sin, sizeof(sin)); .Ed .Pp It is the application's responsibility to set the -.Dv IP_TTL option +.Dv IP_TTL +option to an appropriate value in order to prevent broadcast storms. The application must have sufficient credentials to set the .Dv SO_BROADCAST socket level option, otherwise the -.Dv IP_ONESBCAST option has no effect. +.Dv IP_ONESBCAST +option has no effect. .Pp If the .Dv IP_BINDANY @@ -851,4 +854,5 @@ Before packets received on raw IP sockets had the .Va ip_hl subtracted from the -.Va ip_len field. +.Va ip_len +field. |