cosmetic: more consistent param/arg/var ordering re Port
This commit is contained in:
1 parent
065b632f91
commit
e89e3adc69
2 files changed
+3
-3
No files matched your search
+1
-1
@@ -18,6 +18,7 @@ const macMaxAge = 10 * time.Minute // [1]
|
||||
// /proc/sys/net/ipv4_neigh/*/base_reachable_time_ms on Linux
|
||||
|
||||
type Router struct {
|
||||
Port int
|
||||
Iface *net.Interface
|
||||
Ourself *LocalPeer
|
||||
Macs *MacCache
|
||||
@@ -31,7 +32,6 @@ type Router struct {
|
||||
ConnLimit int
|
||||
BufSz int
|
||||
LogFrame func(string, []byte, *layers.Ethernet)
|
||||
Port int
|
||||
}
|
||||
|
||||
type PacketSource interface {
|
||||
|
||||
Reference in new issue
Block a user