mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
em/igb: Do not print link state messages
These messages are totally redundant with the iflib messages. They're also not very useful, since they don't include the interface name. Discussed with: shurd Approved by: re (rgrimes) Sponsored by: Dell EMC Isilon
This commit is contained in:
parent
24eeedb5e9
commit
382000a1fd
1 changed files with 0 additions and 2 deletions
|
|
@ -1804,13 +1804,11 @@ em_if_update_admin_status(if_ctx_t ctx)
|
|||
}
|
||||
iflib_link_state_change(ctx, LINK_STATE_UP,
|
||||
IF_Mbps(adapter->link_speed));
|
||||
printf("Link state changed to up\n");
|
||||
} else if (!link_check && (adapter->link_active == 1)) {
|
||||
adapter->link_speed = 0;
|
||||
adapter->link_duplex = 0;
|
||||
adapter->link_active = 0;
|
||||
iflib_link_state_change(ctx, LINK_STATE_DOWN, 0);
|
||||
printf("Link state changed to down\n");
|
||||
}
|
||||
em_update_stats_counters(adapter);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue