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 (
2626 natpmp "github.com/jackpal/go-nat-pmp"
2727)
2828
29- // natPMPClient adapts the NAT-PMP protocol implementation so it conforms to
29+ // pmp adapts the NAT-PMP protocol implementation so it conforms to
3030// the common interface.
3131type pmp struct {
3232 gw net.IP
Original file line number Diff line number Diff line change @@ -205,8 +205,8 @@ func discoverUPnP() Interface {
205205 return nil
206206}
207207
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
210210// is sent into out. If no service matched, nil is sent.
211211func discover (out chan <- * upnp , target string , matcher func (goupnp.ServiceClient ) * upnp ) {
212212 devs , err := goupnp .DiscoverDevices (target )
You can’t perform that action at this time.
0 commit comments