add reminder
This commit is contained in:
parent
672464a29e
commit
345b5ff80b
1
kvas2.go
1
kvas2.go
@ -71,6 +71,7 @@ func (a *App) handleLink(event netlink.LinkUpdate) {
|
|||||||
Int("operstate", int(event.Attrs().OperState)).
|
Int("operstate", int(event.Attrs().OperState)).
|
||||||
Msg("interface change")
|
Msg("interface change")
|
||||||
switch event.Attrs().OperState {
|
switch event.Attrs().OperState {
|
||||||
|
// TODO: Может не подняться
|
||||||
case netlink.OperUp:
|
case netlink.OperUp:
|
||||||
ifaceName := event.Link.Attrs().Name
|
ifaceName := event.Link.Attrs().Name
|
||||||
for _, group := range a.Groups {
|
for _, group := range a.Groups {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user