diff options
| author | Stephen Worley <sworley@nvidia.com> | 2022-02-15 14:08:06 -0500 | 
|---|---|---|
| committer | Stephen Worley <sworley@nvidia.com> | 2022-03-09 18:02:44 -0500 | 
| commit | ddfea8a23393da835e009188d205002560e94ec3 (patch) | |
| tree | 20438be3210941b12f4bfafea569490f01035cdf /zebra/interface.h | |
| parent | b1da028e451b5b84ad1a6662fa70e4cc9123dbe4 (diff) | |
zebra: wrap macro zif argument in parans
Missing parenthesis for macro ZIF argument.
Signed-off-by: Stephen Worley <sworley@nvidia.com>
Diffstat (limited to 'zebra/interface.h')
| -rw-r--r-- | zebra/interface.h | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/zebra/interface.h b/zebra/interface.h index d4eaf389f7..4b06603e7f 100644 --- a/zebra/interface.h +++ b/zebra/interface.h @@ -320,9 +320,9 @@ enum zebra_if_flags {  	ZIF_FLAG_LACP_BYPASS = (1 << 5)  }; -#define ZEBRA_IF_IS_PROTODOWN(zif) (zif->flags & ZIF_FLAG_PROTODOWN) +#define ZEBRA_IF_IS_PROTODOWN(zif) ((zif)->flags & ZIF_FLAG_PROTODOWN)  #define ZEBRA_IF_IS_PROTODOWN_ONLY_EXTERNAL(zif)                               \ -	(zif->protodown_rc == ZEBRA_PROTODOWN_EXTERNAL) +	((zif)->protodown_rc == ZEBRA_PROTODOWN_EXTERNAL)  /* `zebra' daemon local interface structure. */  struct zebra_if {  | 
