summaryrefslogtreecommitdiffstats
path: root/zebra/rule_netlink.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2018-05-25 16:37:48 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2018-05-30 14:00:55 +0200
commit215181cbf144f86ee87965174029e76f88aec42b (patch)
tree5caaf79fc79626eabda6bd8fb1013b45d647df9e /zebra/rule_netlink.c
parentMerge pull request #2142 from pguibert6WIND/fs_zebra_complement (diff)
downloadfrr-215181cbf144f86ee87965174029e76f88aec42b.tar.xz
frr-215181cbf144f86ee87965174029e76f88aec42b.zip
zebra: Rename SOUTHBOUND_XXX to DP_XXX
The SOUTHBOUND_XXX enum was named a bit poorly. Let's use a bit better name for what we are trying to do. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'zebra/rule_netlink.c')
-rw-r--r--zebra/rule_netlink.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/zebra/rule_netlink.c b/zebra/rule_netlink.c
index f0ed8f2f5..fdafb2286 100644
--- a/zebra/rule_netlink.c
+++ b/zebra/rule_netlink.c
@@ -148,8 +148,8 @@ void kernel_add_pbr_rule(struct zebra_pbr_rule *rule)
ret = netlink_rule_update(RTM_NEWRULE, rule);
kernel_pbr_rule_add_del_status(rule,
- (!ret) ? SOUTHBOUND_INSTALL_SUCCESS
- : SOUTHBOUND_INSTALL_FAILURE);
+ (!ret) ? DP_INSTALL_SUCCESS
+ : DP_INSTALL_FAILURE);
}
/*
@@ -161,8 +161,8 @@ void kernel_del_pbr_rule(struct zebra_pbr_rule *rule)
ret = netlink_rule_update(RTM_DELRULE, rule);
kernel_pbr_rule_add_del_status(rule,
- (!ret) ? SOUTHBOUND_DELETE_SUCCESS
- : SOUTHBOUND_DELETE_FAILURE);
+ (!ret) ? DP_DELETE_SUCCESS
+ : DP_DELETE_FAILURE);
}
/*