We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 246e9e6 commit 61cac06Copy full SHA for 61cac06
main.go
@@ -121,7 +121,7 @@ func newBoardPortJSON(port *dnssd.Service) *boardPortJSON {
121
122
portJSON := &boardPortJSON{
123
Address: ip,
124
- Label: ip,
+ Label: port.Name + " at " + ip,
125
Protocol: "network",
126
ProtocolLabel: "Network Port",
127
Prefs: prefs,
@@ -132,6 +132,10 @@ func newBoardPortJSON(port *dnssd.Service) *boardPortJSON {
132
portJSON.Prefs.Set("port", strconv.Itoa(port.Port))
133
for key, value := range port.Text {
134
portJSON.Prefs.Set(key, value)
135
+ if key == "board" {
136
+ // duplicate for backwards compatibility
137
+ identificationPrefs.Set(".", value)
138
+ }
139
}
140
return portJSON
141
0 commit comments