Skip to content

Commit 29a96b2

Browse files
authored
Merge pull request #170 from xapi-project/multicast
REQ-230 merge feature branch to master
2 parents 663b506 + 072984c commit 29a96b2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

network/network_interface.ml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff 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 = ""

0 commit comments

Comments
 (0)