diff options
| author | Mark Stapp <mjs@labn.net> | 2023-07-25 11:09:29 -0400 |
|---|---|---|
| committer | Mark Stapp <mjs@labn.net> | 2023-07-25 11:09:29 -0400 |
| commit | fe2bbcb01da0e4838c313be66c93923a6dd01c6c (patch) | |
| tree | 8baac4fd03a0e58a33770079f5fbcff30e141b64 /lib/zclient.c | |
| parent | 3f043d027f29ec676b3abdc46397a863fbd73717 (diff) | |
lib,pbrd: clean up style issues
Fix a couple of style warnings introduced by recent PR 14050.
Signed-off-by: Mark Stapp <mjs@labn.net>
Diffstat (limited to 'lib/zclient.c')
| -rw-r--r-- | lib/zclient.c | 2 |
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); |
