summaryrefslogtreecommitdiff
path: root/eigrpd/eigrp_structs.h
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_structs.h
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_structs.h')
-rw-r--r--eigrpd/eigrp_structs.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/eigrpd/eigrp_structs.h b/eigrpd/eigrp_structs.h
index c81dfebb46..6bb0c5cc2b 100644
--- a/eigrpd/eigrp_structs.h
+++ b/eigrpd/eigrp_structs.h
@@ -514,10 +514,7 @@ struct eigrp_fsm_action_message {
struct eigrp_neighbor_entry *entry;
struct eigrp_prefix_entry *prefix;
msg_data_t data_type; // internal or external tlv type
- union {
- struct TLV_IPv4_External_type *ipv4_ext_data;
- struct TLV_IPv4_Internal_type *ipv4_int_type;
- } data;
+ struct eigrp_metrics metrics;
};
#endif /* _ZEBRA_EIGRP_STRUCTURES_H_ */