[PATCH v2 0/2] Remove @masked argument from virSocketAddrFormatWithPrefix

Julio Faracco posted 2 patches 1 week, 6 days ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/20260120022920.42397-1-jcfaracco@gmail.com
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(-)
[PATCH v2 0/2] Remove @masked argument from virSocketAddrFormatWithPrefix
Posted by Julio Faracco 1 week, 6 days ago
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