commit | 96d1060a704d88e04fcd446cce078a6131c3f6db | [log] [tgz] |
---|---|---|
author | Paul Jakma <paul.jakma@hpe.com> | Fri Jul 01 14:23:45 2016 +0100 |
committer | Paul Jakma <paul.jakma@hpe.com> | Tue Oct 04 13:07:50 2016 +0100 |
tree | 89a6f1285550a2d2f149479cc272450e63294ebc | |
parent | 3b4fb574b414e7b7776b581688f189f2fc736a38 [diff] |
*: Widen width of Zserv routing tag field. * lib/zebra.h: Introduce a route_tag_t type for route tags generally, and make it 4 bytes wide - so it can directly hold things like an ASN, or the OSPF ASE-LSA tag. * zebra/rib.h: Use route_tag_t instead of u_short. * *: Update 'u_short (*)?(tag|tmp)' to use route_tag_t instead of u_short. Update stream_{get,put} to l instead of w. * ospf_zebra.c: (ospf_zebra_add) test OSPF tag within range of ROUTE_TAG_MAX.