Skip to content

Commit ce16445

Browse files
committed
Use a switch --xapi to call fcoe driver
Signed-off-by: Sharad Yadav <[email protected]>
1 parent 63150de commit ce16445

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/network_utils.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -553,7 +553,7 @@ module Fcoe = struct
553553

554554
let get_capabilities name =
555555
try
556-
let output = call [name; "capable"] in
556+
let output = call ["--xapi"; name; "capable"] in
557557
if String.has_substr output "True" then ["fcoe"] else []
558558
with _ ->
559559
debug "Failed to get fcoe support status on device %s" name;

0 commit comments

Comments
 (0)