mirror of
https://codeberg.org/lauralani/ipam.git
synced 2024-11-23 20:20:39 +01:00
fix whitespace stuff
This commit is contained in:
parent
6d75376d7f
commit
67f9e0b6fb
19 changed files with 1059 additions and 1059 deletions
|
@ -56,10 +56,10 @@ var subnetaddCmd = &cobra.Command{
|
|||
|
||||
// Exit if parsed value is an IPv6 Address
|
||||
// TODO: Implement IPv6 support
|
||||
if !ipnet.Addr().Is4() {
|
||||
fmt.Printf("[ERROR] IPv6 is not yet supported!\n")
|
||||
os.Exit(1)
|
||||
}
|
||||
// if !ipnet.Addr().Is4() {
|
||||
// fmt.Printf("[ERROR] IPv6 is not yet supported!\n")
|
||||
// os.Exit(1)
|
||||
// }
|
||||
|
||||
currentuser, _ := user.Current()
|
||||
|
||||
|
|
|
@ -39,7 +39,7 @@ var subnetlistCmd = &cobra.Command{
|
|||
return subnets[i].Subnet.Addr().Less(subnets[j].Subnet.Addr())
|
||||
})
|
||||
|
||||
fmt.Printf("%-15s VLAN %-25s Free IPs\n", "Prefix", "Name")
|
||||
fmt.Printf("%-18s VLAN %-25s Free IPs\n", "Prefix", "Name")
|
||||
|
||||
for _, subnet := range subnets {
|
||||
var numip, freeip int
|
||||
|
|
Loading…
Reference in a new issue