diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-08-23 01:19:10 +0200 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-08-24 14:04:20 +0200 |
commit | db6ec9ff6e8e1641c586ce32b4422b6e0c896500 (patch) | |
tree | df5219712a5eb0142b9fef1303efe1939a42c80b /eigrpd/eigrp_siareply.c | |
parent | eigrpd: Improve external route distance comparison (diff) | |
download | frr-db6ec9ff6e8e1641c586ce32b4422b6e0c896500.tar.xz frr-db6ec9ff6e8e1641c586ce32b4422b6e0c896500.zip |
eigrpd: Remove union from FSM msg
Remove the union of passing the TLV and just pass the metric in.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'eigrpd/eigrp_siareply.c')
-rw-r--r-- | eigrpd/eigrp_siareply.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/eigrpd/eigrp_siareply.c b/eigrpd/eigrp_siareply.c index e96094020..5e8354948 100644 --- a/eigrpd/eigrp_siareply.c +++ b/eigrpd/eigrp_siareply.c @@ -101,7 +101,7 @@ void eigrp_siareply_receive(struct eigrp *eigrp, struct ip *iph, msg.eigrp = eigrp; msg.data_type = EIGRP_INT; msg.adv_router = nbr; - msg.data.ipv4_int_type = tlv; + msg.metrics = tlv->metric; msg.entry = entry; msg.prefix = dest; eigrp_fsm_event(&msg); |