File tree Expand file tree Collapse file tree 2 files changed +11
-11
lines changed Expand file tree Collapse file tree 2 files changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -44,11 +44,11 @@ func publishListenPortUpdate(self *Device, network *Network) {
44
44
}
45
45
}
46
46
47
- func getSelfFromPeers (self * Device , peers []plexus.NetworkPeer ) * plexus.NetworkPeer {
48
- for _ , peer := range peers {
49
- if peer .WGPublicKey == self .WGPublicKey {
50
- return & peer
51
- }
52
- }
53
- return nil
54
- }
47
+ // func getSelfFromPeers(self *Device, peers []plexus.NetworkPeer) *plexus.NetworkPeer {
48
+ // for _, peer := range peers {
49
+ // if peer.WGPublicKey == self.WGPublicKey {
50
+ // return &peer
51
+ // }
52
+ // }
53
+ // return nil
54
+ // }
Original file line number Diff line number Diff line change @@ -10,13 +10,13 @@ <h2>Create Subnet Router</h2>
10
10
< h3 > Nat</ h3 >
11
11
< input class ="w3-radio " type ="radio " name ="nat " value ="none " checked
12
12
onclick ="document.getElementById('vcidr').disabled=true ">
13
- < label > None</ label > < br >
13
+ < label > None (peer is default router for subnet) </ label > < br >
14
14
< input class ="w3-radio " type ="radio " name ="nat " value ="nat "
15
15
onclick ="document.getElementById('vcidr').disabled=true ">
16
- < label > Masquerade</ label > < br >
16
+ < label > Masquerade (peer is not default router for subnet) </ label > < br >
17
17
< input class ="w3-radio " type ="radio " name ="nat " value ="virt "
18
18
onclick ="document.getElementById('vcidr').disabled=false ">
19
- < label > Use Virtual Subnet</ label > < br >
19
+ < label > Use Virtual Subnet (subnet overlaps with another subnet) </ label > < br >
20
20
< label > Virtual CIDR</ label > < br >
21
21
< input id ="vcidr " class ="w3-input " type ="text " name ="vcidr " disabled style ="width:50% ">
22
22
< p >
You can’t perform that action at this time.
0 commit comments