10416 zoneadmd leaves trailing comma on link address

Review Request #1485 - Created Feb. 18, 2019 and submitted - Latest diff uploaded

Information
Andy Fiddaman
illumos-gate
master
10416
b6ad4fd...
Reviewers
general
10416 zoneadmd leaves trailing comma on link address

Wrote a utility to dump the network zone attributes from inside a zone via zone_getattr()

Before:

Datalink            : 6 - test0
    address         :     [172.27.10.100/24,]
    router          :     [172.27.10.254]

After:

Datalink            : 6 - test0
    address         :     [172.27.10.100/24]
    router          :     [172.27.10.254]

and in both cases, automatic IP allocation from the zone's allowed-address property worked properly.

Loading...