summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/zebra.h3
-rw-r--r--zebra/kernel_socket.c4
2 files changed, 0 insertions, 7 deletions
diff --git a/lib/zebra.h b/lib/zebra.h
index 46721cc1ab..a0cc2dc053 100644
--- a/lib/zebra.h
+++ b/lib/zebra.h
@@ -414,14 +414,11 @@ extern const char *zserv_command_string(unsigned int command);
#define ZEBRA_FLAG_SELFROUTE 0x02
#define ZEBRA_FLAG_IBGP 0x08
#define ZEBRA_FLAG_SELECTED 0x10
-#define ZEBRA_FLAG_STATIC 0x40
#define ZEBRA_FLAG_SCOPE_LINK 0x100
#define ZEBRA_FLAG_FIB_OVERRIDE 0x200
#define ZEBRA_FLAG_EVPN_ROUTE 0x400
#define ZEBRA_FLAG_RR_USE_DISTANCE 0x800
#define ZEBRA_FLAG_ONLINK 0x1000
-/* ZEBRA_FLAG_BLACKHOLE was 0x04 */
-/* ZEBRA_FLAG_REJECT was 0x80 */
/* Zebra FEC flags. */
#define ZEBRA_FEC_REGISTER_LABEL_INDEX 0x1
diff --git a/zebra/kernel_socket.c b/zebra/kernel_socket.c
index 8a7cb0e528..4a75d6432f 100644
--- a/zebra/kernel_socket.c
+++ b/zebra/kernel_socket.c
@@ -951,10 +951,6 @@ void rtm_read(struct rt_msghdr *rtm)
if (flags & RTF_PROTO1)
SET_FLAG(zebra_flags, ZEBRA_FLAG_SELFROUTE);
- /* This is persistent route. */
- if (flags & RTF_STATIC)
- SET_FLAG(zebra_flags, ZEBRA_FLAG_STATIC);
-
memset(&nh, 0, sizeof(nh));
nh.vrf_id = VRF_DEFAULT;