From ce239ce000963d8eb6c78471f696f1b127660c6c Mon Sep 17 00:00:00 2001 From: Philippe Guibert Date: Thu, 29 Nov 2018 15:03:03 +0100 Subject: [PATCH] bgpd: remove useless fields in bgp_pbr_entry_main main bgp structure that contains fs information is being cleaned. some fields are removed. Signed-off-by: Philippe Guibert --- bgpd/bgp_pbr.h | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/bgpd/bgp_pbr.h b/bgpd/bgp_pbr.h index 45c3c9ea13..f59aeea8b2 100644 --- a/bgpd/bgp_pbr.h +++ b/bgpd/bgp_pbr.h @@ -88,11 +88,6 @@ struct bgp_pbr_entry_action { /* BGP Policy Route structure */ struct bgp_pbr_entry_main { uint8_t type; - uint16_t instance; - - uint32_t flags; - - uint8_t message; /* * This is an enum but we are going to treat it as a uint8_t @@ -137,14 +132,6 @@ struct bgp_pbr_entry_main { uint16_t action_num; struct bgp_pbr_entry_action actions[ACTIONS_MAX_NUM]; - uint8_t distance; - - uint32_t metric; - - route_tag_t tag; - - uint32_t mtu; - vrf_id_t vrf_id; }; -- 2.39.5