File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -117,6 +117,7 @@ type bridge_config_t = {
117117 ports : (port * port_config_t ) list ;
118118 vlan : (bridge * int ) option ;
119119 bridge_mac : string option ;
120+ igmp_snooping : bool option ;
120121 other_config : (string * string ) list ;
121122 persistent_b : bool ;
122123}
@@ -145,6 +146,7 @@ let default_bridge = {
145146 ports = [] ;
146147 vlan = None ;
147148 bridge_mac = None ;
149+ igmp_snooping = None ;
148150 other_config = [] ;
149151 persistent_b = false ;
150152}
@@ -286,7 +288,7 @@ module Bridge = struct
286288 external get_all : debug_info -> unit -> bridge list = " "
287289 external get_bond_links_up : debug_info -> name :port -> int = " "
288290 external create : debug_info -> ?vlan : (bridge * int ) ->
289- ?mac : string -> ?other_config : (string * string ) list -> name :bridge -> unit -> unit = " "
291+ ?mac : string -> ?igmp_snooping : bool -> ? other_config : (string * string ) list -> name :bridge -> unit -> unit = " "
290292 external destroy : debug_info -> ?force : bool -> name :bridge -> unit -> unit = " "
291293 external get_kind : debug_info -> unit -> kind = " "
292294 external get_ports : debug_info -> name :bridge -> (port * iface list ) list = " "
You can’t perform that action at this time.
0 commit comments