From b0986f8b30a62e5d8920bc0e6118ebead813e6eb Mon Sep 17 00:00:00 2001 From: insanity Date: Thu, 13 Sep 2018 12:27:20 +0900 Subject: [PATCH] iface-friendlyName --- net/nic.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/net/nic.go b/net/nic.go index 1077481..b2afd80 100644 --- a/net/nic.go +++ b/net/nic.go @@ -5,9 +5,10 @@ import ( ) type Interface struct { - Iface string `json:"iface,omitempty"` - Mac string `json:"mac,omitempty"` - Addresses []*InterfaceAddress `json:"addresses,omitempty"` + Iface string `json:"iface,omitempty"` + FriendlyName string `json:"friendlyName,omitempty"` + Mac string `json:"mac,omitempty"` + Addresses []*InterfaceAddress `json:"addresses,omitempty"` } type InterfaceAddress struct {