]> git.puffer.fish Git - mirror/frr.git/commit
OSPFD: Fix Segment Routing Lan Adjacency TLVs 1764/head
authorOlivier Dugeon <olivier.dugeon@orange.com>
Mon, 19 Feb 2018 09:17:41 +0000 (10:17 +0100)
committerOlivier Dugeon <olivier.dugeon@orange.com>
Mon, 19 Feb 2018 09:17:41 +0000 (10:17 +0100)
commitd922605d28fc929d962bcc586bced0453543cc3a
tree2444e2f1552583098b891bbc2f644a30b6c2a1b6
parent97133f7f9f3c69addde1c9375d2229008e2e979f
OSPFD: Fix Segment Routing Lan Adjacency TLVs

 - Lan Adjacency TLVs was incorrectly formatted due to an error in
TLV size computation. Add new macro to fix this issue
 - Update SR link nexthop when it corresponds to an LAN Adj SID. The nexthop
is set to the router id in the TLVi (as per draft), but we need the neighbor
IP address to set the corresponding MPLS LFIB entry

Signed-off-by: Olivier Dugeon <olivier.dugeon@orange.com>
ospfd/ospf_ext.c
ospfd/ospf_sr.c
ospfd/ospf_sr.h