Skip to content

Commit 9502abd

Browse files
committed
Test_common.make_pif: correct default value of iPv6 param to empty list
Signed-off-by: Gabor Igloi <[email protected]>
1 parent ff85883 commit 9502abd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ocaml/xapi/test_common.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ let make_pif ~__context ~network ~host ?(device="eth0") ?(mAC="C0:FF:EE:C0:FF:EE
154154
?(vLAN=(-1L)) ?(physical=true) ?(ip_configuration_mode=`None) ?(iP="") ?(netmask="")
155155
?(gateway="") ?(dNS="") ?(bond_slave_of=Ref.null) ?(vLAN_master_of=Ref.null)
156156
?(management=false) ?(other_config=[]) ?(disallow_unplug=false)
157-
?(ipv6_configuration_mode=`None) ?(iPv6=[""]) ?(ipv6_gateway="") ?(primary_address_type=`IPv4) ?(managed=true)
157+
?(ipv6_configuration_mode=`None) ?(iPv6=[]) ?(ipv6_gateway="") ?(primary_address_type=`IPv4) ?(managed=true)
158158
?(properties=["gro", "on"]) () =
159159
Xapi_pif.pool_introduce ~__context
160160
~device ~network ~host ~mAC ~mTU ~vLAN ~physical ~ip_configuration_mode

0 commit comments

Comments
 (0)