summaryrefslogtreecommitdiff
path: root/eigrpd/eigrp_siareply.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2017-08-22 19:19:10 -0400
committerDonald Sharp <sharpd@cumulusnetworks.com>2017-08-24 08:04:20 -0400
commitdb6ec9ff6e8e1641c586ce32b4422b6e0c896500 (patch)
treedf5219712a5eb0142b9fef1303efe1939a42c80b /eigrpd/eigrp_siareply.c
parent3aea4e507bc6c129e1bdcfbaaefca6a829ee1825 (diff)
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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/eigrpd/eigrp_siareply.c b/eigrpd/eigrp_siareply.c
index e960940200..5e83549488 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);