Skip to content

Commit a2d63c7

Browse files
authored
Merge pull request #95 from robhoes/ca234506
CA-234506: Don't lose the port `kind` param in bridge.make_config
2 parents 95f5d8a + 1836c1b commit a2d63c7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

networkd/network_server.ml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -891,8 +891,8 @@ module Bridge = struct
891891
update_config bridge_name c;
892892
exec (fun () ->
893893
create () dbg ?vlan ?mac:bridge_mac ~other_config ~name:bridge_name ();
894-
List.iter (fun (port_name, {interfaces; bond_properties; bond_mac}) ->
895-
add_port () dbg ?bond_mac ~bridge:bridge_name ~name:port_name ~interfaces ~bond_properties ()
894+
List.iter (fun (port_name, {interfaces; bond_properties; bond_mac; kind}) ->
895+
add_port () dbg ?bond_mac ~bridge:bridge_name ~name:port_name ~interfaces ~bond_properties ~kind ()
896896
) ports
897897
)
898898
) config

0 commit comments

Comments
 (0)