Commit Graph

5 Commits

Author SHA1 Message Date
guy
9ebb84d5b7 From Albert Chin: handle systems that don't support IPv6. 2005-06-07 22:05:58 +00:00
guy
e30f67df75 From Albert Chin: get rid of zero-length arrays, not all compilers
support them.
2005-06-07 21:58:32 +00:00
guy
faead960f4 EXTRACT_32BITS(), like EXTRACT_16BITS(), takes a pointer to the value
being extracted as its argument.

For PGM messages, always advance "bp" to point to the beginning of the
options.

The length of OPT_FRAGMENT is 16, not 12.

Show the option type without the "end of options" bit.

Fix the message type in "Bad XXX option" messages.
2005-05-24 07:56:23 +00:00
guy
55ea995e73 Do some additional sanity checking.
The first option must be an OPT_LENGTH option; make sure it is, and use
that length when processing the option list, rather than just running to
the end of the packet or an OPT_END, whichever comes first.
2005-05-23 21:38:06 +00:00
hannes
a5370b71fe from Andy Heffernan <ahh@juniper.net>:
add PGM upport as per rfc3208
2005-05-20 21:02:29 +00:00