From fe2bbcb01da0e4838c313be66c93923a6dd01c6c Mon Sep 17 00:00:00 2001 From: Mark Stapp Date: Tue, 25 Jul 2023 11:09:29 -0400 Subject: lib,pbrd: clean up style issues Fix a couple of style warnings introduced by recent PR 14050. Signed-off-by: Mark Stapp --- lib/zclient.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/zclient.c') 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); -- cgit v1.2.3