mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-04-28 22:25:07 +03:00
remove metric stuff, there's already enough new stuff to test, maybe revisit this in a future release
This commit is contained in:
parent
c60dd42baa
commit
8a60c605f6
6 changed files with 8 additions and 31 deletions
|
@ -274,8 +274,7 @@ func (m *Multicast) _announce() {
|
|||
var info *listenerInfo
|
||||
if nfo, ok := m.listeners[iface.Name]; !ok || nfo.listener.Listener == nil {
|
||||
// No listener was found - let's create one
|
||||
var metric uint8 // TODO parse this from the config
|
||||
urlString := fmt.Sprintf("tcp://[%s]:%d/?metric=%d", addrIP, m.listenPort, metric)
|
||||
urlString := fmt.Sprintf("tcp://[%s]:%d", addrIP, m.listenPort)
|
||||
u, err := url.Parse(urlString)
|
||||
if err != nil {
|
||||
panic(err)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue