summaryrefslogtreecommitdiff
path: root/ofproto/ofproto-dpif-ipfix.c
diff options
context:
space:
mode:
authorIlya Maximets <i.maximets@samsung.com>2016-07-15 14:54:53 +0300
committerDaniele Di Proietto <diproiettod@vmware.com>2016-07-25 18:39:29 -0700
commitaacf18c3a79502d124ebdbb3b0523668a011cd5e (patch)
tree6a5a94c6e2a883e4ea0616cfb23cbd7d989f94e0 /ofproto/ofproto-dpif-ipfix.c
parentb3790370798134fb34f749b64ac55a0570b18f4d (diff)
downloadopenvswitch-aacf18c3a79502d124ebdbb3b0523668a011cd5e.tar.gz
util: Expose function nullable_string_is_equal.
Implementation of 'nullable_string_is_equal()' moved to util.c and reused inside dpif-netdev. Signed-off-by: Ilya Maximets <i.maximets@samsung.com> Acked-by: Daniele Di Proietto <diproiettod@vmware.com>
Diffstat (limited to 'ofproto/ofproto-dpif-ipfix.c')
-rw-r--r--ofproto/ofproto-dpif-ipfix.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/ofproto/ofproto-dpif-ipfix.c b/ofproto/ofproto-dpif-ipfix.c
index 0128c91a6..abea49249 100644
--- a/ofproto/ofproto-dpif-ipfix.c
+++ b/ofproto/ofproto-dpif-ipfix.c
@@ -464,12 +464,6 @@ static void get_export_time_now(uint64_t *, uint32_t *);
static void dpif_ipfix_cache_expire_now(struct dpif_ipfix_exporter *, bool);
static bool
-nullable_string_is_equal(const char *a, const char *b)
-{
- return a ? b && !strcmp(a, b) : !b;
-}
-
-static bool
ofproto_ipfix_bridge_exporter_options_equal(
const struct ofproto_ipfix_bridge_exporter_options *a,
const struct ofproto_ipfix_bridge_exporter_options *b)