Since its introduction in commit 426afc00, the function
virSocketAddrFormatWithPrefix has never been called with argument
masked=false. So, this commit proposes to remove this unnecessary
argument from the function scope.
This series also proposes the respective test cases for
virSocketAddrFormatWithPrefix (now, without @masked argument).
Julio Faracco (2):
util: Remove @masked argument from virSocketAddrFormatWithPrefix
tests: Add tests for virSocketAddrFormatWithPrefix
src/network/network_iptables.c | 10 +++---
src/network/network_nftables.c | 10 +++---
src/util/virsocketaddr.c | 14 ++++----
src/util/virsocketaddr.h | 3 +-
tests/sockettest.c | 63 ++++++++++++++++++++++++++++++++++
5 files changed, 80 insertions(+), 20 deletions(-)
--
2.52.0