Return "" when NetDev.IpCIDR is empty

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
This commit is contained in:
Jonathon Anderson
2025-02-07 18:05:38 -07:00
committed by Christian Goll
parent ec61ffbacc
commit 87da57d1a2
6 changed files with 45 additions and 6 deletions

View File

@@ -153,7 +153,7 @@ This file is autogenerated by warewulf
</ipv4>
<ipv4:static>
<address>
<local><nil></local>
<local></local>
</address>
<route>
<destination>192.168.1.0/24</destination>
@@ -189,7 +189,7 @@ This file is autogenerated by warewulf
</ipv4>
<ipv4:static>
<address>
<local><nil></local>
<local></local>
</address>
</ipv4:static>
<ipv6>