|
@@ -40,7 +40,7 @@ func New(sm subnet.Manager, extIface *backend.ExternalInterface) (backend.Backen
|
|
|
return &be, nil
|
|
|
}
|
|
|
|
|
|
-func (be *AllocBackend) RegisterNetwork(ctx context.Context, wg sync.WaitGroup, config *subnet.Config) (backend.Network, error) {
|
|
|
+func (be *AllocBackend) RegisterNetwork(ctx context.Context, wg *sync.WaitGroup, config *subnet.Config) (backend.Network, error) {
|
|
|
attrs := subnet.LeaseAttrs{
|
|
|
PublicIP: ip.FromIP(be.extIface.ExtAddr),
|
|
|
}
|