diff --git a/test/extended/networking/util.go b/test/extended/networking/util.go
index <HASH>..<HASH> 100644
--- a/test/extended/networking/util.go
+++ b/test/extended/networking/util.go
@@ -136,7 +136,7 @@ func networkPluginName() string {
 	if cachedNetworkPluginName == nil {
 		// We don't use exutil.NewCLI() here because it can't be called from BeforeEach()
 		out, err := exec.Command(
-			"oc", "--config="+exutil.KubeConfigPath(),
+			"oc", "--kubeconfig="+exutil.KubeConfigPath(),
 			"get", "clusternetwork", "default",
 			"--template={{.pluginName}}",
 		).CombinedOutput()
Fix openshift-sdn mode detection in e2e tests

Our attempt to determine the plugin mode was generating

pluginName="Flag --config has been deprecated, use --kubeconfig instead\nredhat/openshift-ovs-networkpolicy"