mirror of https://github.com/mkerrisk/man-pages
packet.7: Remove text about ancient glibc not defining SOL_PACKET
This was fixed in glibc 2.1.1, which is a long while ago. And in any case, there is nothing special about this case; it's just one of those times when glibc lags. Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
f2b205322b
commit
71bbbbef71
|
@ -604,20 +604,6 @@ is the device name as a null-terminated string, for example, eth0.
|
|||
|
||||
This structure is obsolete and should not be used in new code.
|
||||
.SH BUGS
|
||||
glibc 2.1 does not have a define for
|
||||
.BR SOL_PACKET .
|
||||
The suggested workaround is to use:
|
||||
.in +4n
|
||||
.nf
|
||||
|
||||
#ifndef SOL_PACKET
|
||||
#define SOL_PACKET 263
|
||||
#endif
|
||||
|
||||
.fi
|
||||
.in
|
||||
This is fixed in later glibc versions.
|
||||
|
||||
The IEEE 802.2/803.3 LLC handling could be considered as a bug.
|
||||
|
||||
Socket filters are not documented.
|
||||
|
|
Loading…
Reference in New Issue