We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2acf271 + ce76ccd commit d248e2fCopy full SHA for d248e2f
ocaml/networkd/lib/network_device_order.ml
@@ -262,6 +262,9 @@ module Dev = struct
262
)
263
devs
264
265
+ let not_ibft t =
266
+ try Scanf.sscanf t.name "ibft%d%!" (fun _ -> false) with _ -> true
267
+
268
let get_all () : (t list, error) result =
269
let* devs =
270
Network_utils.call_script cmd_biosdevname
@@ -271,6 +274,7 @@ module Dev = struct
271
274
|> List.map parse
272
275
|> fold_results
273
276
in
277
+ let devs = List.filter not_ibft devs in
278
try
279
MacaddrUniqueMap.of_unique_list (fun v -> v.mac) devs |> ignore ;
280
Ok (update_multi_nic devs)
0 commit comments