Allow IPv6 Mobility Option Service Selection with option length = 1

According to RFC 5149 (http://tools.ietf.org/html/rfc5149#section-3), the Service Selection mobility option length must be between 1 and 255.

Discovered while working on Pcap.Net, http://pcapdot.net.
Found by Boaz

Change-Id: I6d9e9eba8c45b5a6c38523182069ab0f236d85bb
Closed-bug:10045
Reviewed-on: https://code.wireshark.org/review/1506
Reviewed-by: Michael Mann <mmann78@netscape.net>
This commit is contained in:
Alexis La Goutte 2014-05-05 14:03:25 +02:00 committed by Michael Mann
parent 402bbcbd05
commit a0b76c994c
1 changed files with 1 additions and 1 deletions

View File

@ -840,7 +840,7 @@ static const value_string mip6_mng_id_type_vals[] = {
#define MIP6_VSM_DATA_OFF 7
#define MIP6_SSM_MINLEN 2
#define MIP6_SSM_MINLEN 1
#define MIP6_SSM_SSM_OFF 2
#define MIP6_BADFF_MINLEN 4