Ethereal-dev: [Ethereal-dev] SDP Fix

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: "Venna, Nagarjuna" <nvenna@xxxxxxxxxxx>
Date: Mon, 29 Jul 2002 14:01:21 -0400
RFC 2327 states that the session attribute info should follow the time info
and not vice versa. Ethereal currently displays attribute lines specified
after time info as misplaced whereas those specified before time info should
be displayed as misplaced. The attached diff claims to fix this by checking
if the attribute info is specified after time info. (Please note that the
time info is mandatory).

Thanks,
Nagarjuna



@@ -267,7 +267,7 @@
                        hf = hf_encryption_key;
                        break;
                case 'a':
-                       if (section == 'v'){
+                       if (section == 't'){
                                hf = hf_session_attribute;
                        }
                        else if (section == 'm'){