diff options
| author | Tero Marttila <[email protected]> | 2016-06-19 21:56:06 +0300 |
|---|---|---|
| committer | Tero Marttila <[email protected]> | 2016-06-19 21:56:06 +0300 |
| commit | 8eb6f8ab58d2f8016319639c40116ea04c85af68 (patch) | |
| tree | 0d8c1062376c9a57ce799deb039125515fc9f3f2 /netlink.go | |
| parent | 9912f1dfc026fdd1f793670dae08c8afe9981c26 (diff) | |
usage
Diffstat (limited to 'netlink.go')
| -rw-r--r-- | netlink.go | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -10,6 +10,8 @@ type Family int func (f *Family) UnmarshalFlag(value string) error { switch (value) { + case "unspec", "all": + *f = netlink.FAMILY_ALL case "inet", "ipv4": *f = netlink.FAMILY_V4 case "inet6", "ipv6": |
