summaryrefslogtreecommitdiff
path: root/lib/zclient.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/zclient.c')
-rw-r--r--lib/zclient.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/zclient.c b/lib/zclient.c
index c6d06ee6d6..c36bcc6e2e 100644
--- a/lib/zclient.c
+++ b/lib/zclient.c
@@ -1628,7 +1628,7 @@ stream_failure:
static void zapi_pbr_rule_filter_encode(struct stream *s, struct pbr_filter *f)
{
assert(f->src_ip.family == f->dst_ip.family);
- assert((AF_INET == f->src_ip.family) || (AF_INET6 == f->src_ip.family));
+ assert((f->src_ip.family == AF_INET) || (f->src_ip.family == AF_INET6));
stream_putl(s, f->filter_bm);
stream_putc(s, f->ip_proto);