File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ import (
26
26
natpmp "github.com/jackpal/go-nat-pmp"
27
27
)
28
28
29
- // natPMPClient adapts the NAT-PMP protocol implementation so it conforms to
29
+ // pmp adapts the NAT-PMP protocol implementation so it conforms to
30
30
// the common interface.
31
31
type pmp struct {
32
32
gw net.IP
Original file line number Diff line number Diff line change @@ -205,8 +205,8 @@ func discoverUPnP() Interface {
205
205
return nil
206
206
}
207
207
208
- // finds devices matching the given target and calls matcher for all
209
- // advertised services of each device. The first non-nil service found
208
+ // discover finds devices matching the given target and calls matcher for
209
+ // all advertised services of each device. The first non-nil service found
210
210
// is sent into out. If no service matched, nil is sent.
211
211
func discover (out chan <- * upnp , target string , matcher func (goupnp.ServiceClient ) * upnp ) {
212
212
devs , err := goupnp .DiscoverDevices (target )
You can’t perform that action at this time.
0 commit comments