@@ -9,9 +9,10 @@ use chrono::prelude::*;
9
9
use httpmock:: MockServer ;
10
10
use oxide:: types:: {
11
11
AddressLot , AddressLotBlock , AddressLotBlockResultsPage , AddressLotKind , AddressLotResultsPage ,
12
- BgpConfig , BgpConfigResultsPage , BgpPeer , ImportExportPolicy , LinkSpeed , NameOrId , SwitchPort ,
13
- SwitchPortAddressConfig , SwitchPortConfig , SwitchPortGeometry2 , SwitchPortLinkConfig ,
14
- SwitchPortResultsPage , SwitchPortRouteConfig , SwitchPortSettings , SwitchPortSettingsView ,
12
+ BgpConfig , BgpConfigResultsPage , BgpPeer , ImportExportPolicy , LinkFec , LinkSpeed , NameOrId ,
13
+ SwitchPort , SwitchPortAddressConfig , SwitchPortConfig , SwitchPortGeometry2 ,
14
+ SwitchPortLinkConfig , SwitchPortResultsPage , SwitchPortRouteConfig , SwitchPortSettings ,
15
+ SwitchPortSettingsView ,
15
16
} ;
16
17
use oxide_httpmock:: MockServerExt ;
17
18
use uuid:: Uuid ;
@@ -258,7 +259,7 @@ fn test_port_config() {
258
259
link_lldp : Vec :: new ( ) ,
259
260
links : vec ! [ SwitchPortLinkConfig {
260
261
autoneg: false ,
261
- fec: None ,
262
+ fec: Some ( LinkFec :: None ) ,
262
263
link_name: String :: from( "phy0" ) ,
263
264
lldp_link_config_id: None ,
264
265
mtu: 1500 ,
0 commit comments