10416 zoneadmd leaves trailing comma on link address

Review Request #1485 — Created Feb. 18, 2019 and submitted

citrus
illumos-gate
master
10416
b6ad4fd...
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.

  • 0
  • 0
  • 3
  • 0
  • 3
Description From Last Updated
tsoome
  1. Ship It!
  2. 
      
seeemef@mac.com
  1. Ship It!
  2. 
      
domag02
  1. Space followed-by tab nits.
  2. usr/src/cmd/zoneadmd/vplat.c (Diff revision 1)
     
     
    Space followed by tab.
  3. usr/src/cmd/zoneadmd/vplat.c (Diff revision 1)
     
     
    Space followed by tab.
  4. usr/src/cmd/zoneadmd/vplat.c (Diff revision 1)
     
     
    Space followed by tab (+ in the following lines).
  5. 
      
citrus
citrus
Review request changed

Status: Closed (submitted)

Loading...