diff options
| author | David Lamparter <equinox@opensourcerouting.org> | 2022-01-13 14:37:42 +0100 |
|---|---|---|
| committer | David Lamparter <equinox@opensourcerouting.org> | 2022-01-17 14:11:08 +0100 |
| commit | 3ca68c9cf3fa08979d73fb34cadc83c18d1d2106 (patch) | |
| tree | 846c26f25e2987725ed6ebc985833f3abf08a4f3 /pimd/pim_vty.c | |
| parent | 6d7bf748b6185f74532ed1273814036f556ab7ad (diff) | |
pimd: remove PIM_INADDR_IS[NOT]_ANY macros
These really don't serve much of a purpose, especially with how
inconsistently they're used.
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'pimd/pim_vty.c')
| -rw-r--r-- | pimd/pim_vty.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/pimd/pim_vty.c b/pimd/pim_vty.c index c7411070d3..f5af227712 100644 --- a/pimd/pim_vty.c +++ b/pimd/pim_vty.c @@ -339,8 +339,7 @@ int pim_interface_config_write(struct vty *vty) } /* update source */ - if (PIM_INADDR_ISNOT_ANY( - pim_ifp->update_source)) { + if (!pim_addr_is_any(pim_ifp->update_source)) { char src_str[INET_ADDRSTRLEN]; pim_inet4_dump("<src?>", pim_ifp->update_source, |
