summaryrefslogtreecommitdiff
path: root/lib/zebra.h
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2016-11-28 17:56:29 +0100
committerDavid Lamparter <equinox@opensourcerouting.org>2016-11-28 17:56:29 +0100
commit82992fed8c6426f431fa92933dcf4cfe4de926d6 (patch)
treec7c3afb35248073d61d8863e635580f2969296e5 /lib/zebra.h
parentd7a64489f05d4bfba5e686aae941ef36eaa30688 (diff)
parentbf31fc8174b6d130b90e6ee1a67c543c3c8f1615 (diff)
Merge branch 'vtysh-grammar'
Conflicts: isisd/isisd.c lib/Makefile.am lib/thread.c Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'lib/zebra.h')
-rw-r--r--lib/zebra.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/zebra.h b/lib/zebra.h
index a67713c30d..5bb3590abd 100644
--- a/lib/zebra.h
+++ b/lib/zebra.h
@@ -435,6 +435,8 @@ extern int proto_redistnum(int afi, const char *s);
extern const char *zserv_command_string (unsigned int command);
+#define strmatch(a,b) (!strcmp((a), (b)))
+
/* Error codes of zebra. */
#define ZEBRA_ERR_NOERROR 0
#define ZEBRA_ERR_RTEXIST -1