Annotation of embedaddon/libnet/doc/BUGS, revision 1.1.1.1

1.1       misho       1: ===============================================================================
                      2:     $Id: BUGS,v 1.2 2004/01/03 20:31:00 mike Exp $
                      3:     LIBNET 1.1 (c) 1998 - 2004 Mike D. Schiffman <mike@infonexus.com>
                      4:                                http://www.packetfactory.net/libnet
                      5: ===============================================================================
                      6: 
                      7: 
                      8:     1.1.0 KNOWN BUG LIST
                      9:  
                     10:     - It appears as though getprotobynumber() is broken in some linux
                     11:       distributions.  The /etc/protocols file should be of the format:
                     12:       protocol name protocol number proctocol symbolic constant comment
                     13:       Most of the file (in my redhat 7.1) distro complies with this format
                     14:       until you get to the end of the file:
                     15:       #       134-254                 # Unassigned  
                     16:       #       255                     # Reserved
                     17:       This will cause getprotobynumber() and presumably getprotobyname() to
                     18:       segfault.  If you get this behavior in your program and you're calling
                     19:       __libnet_file_dump(), this could be the reason.  Caveat Emptor.

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>