Bug fix and update version
This commit is contained in:
@@ -29,7 +29,7 @@ func init() {
|
||||
// Build default config.
|
||||
Global = Config{
|
||||
General: general{
|
||||
Version: "0.0.1",
|
||||
Version: "0.2.0",
|
||||
},
|
||||
Proxy: envParseProxy(Proxy{
|
||||
// Default values for the internal proxy config.
|
||||
|
||||
2
relay.go
2
relay.go
@@ -92,7 +92,7 @@ func main() {
|
||||
// Setup Peer Table for Quick Packet --> Dest ID lookup
|
||||
peerTable := make(map[string]peer.ID)
|
||||
for _, client := range config.Global.Clients {
|
||||
peerTable[string(net.ParseIP(client.Address))], err = peer.Decode(client.ID)
|
||||
peerTable[net.ParseIP(client.Address).String()], err = peer.Decode(client.ID)
|
||||
if err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user