debug port value

This commit is contained in:
mlsmaycon 2021-06-25 11:49:16 +02:00
parent cffb08ad23
commit f4d7faaf4e

View File

@ -113,7 +113,7 @@ func GetListenPort(iface string) (*int, error) {
if err != nil { if err != nil {
return nil, err return nil, err
} }
log.Debugf("got Wireguard device listen port %s, %d", iface, &d.ListenPort) log.Debugf("got Wireguard device listen port %s, %d", iface, d.ListenPort)
return &d.ListenPort, nil return &d.ListenPort, nil
} }