evpn route-targets are decoded in ... multiple places; at least
two have a bug where the AS4 form doesn't have its AS decoded.
Signed-off-by: Mark Stapp <mjs@cisco.com>
(cherry picked from commit
9943a08720ccbed87cd6938791066a0de94a92c6)
break;
case ECOMMUNITY_ENCODE_AS4:
- pnt = ptr_get_be32(pnt, &eas.val);
+ pnt = ptr_get_be32(pnt, &eas.as);
eas.val = (*pnt++ << 8);
eas.val |= (*pnt++);
break;
case ECOMMUNITY_ENCODE_AS4:
- pnt = ptr_get_be32(pnt, &eas.val);
+ pnt = ptr_get_be32(pnt, &eas.as);
eas.val = (*pnt++ << 8);
eas.val |= (*pnt++);