Module Name:    src
Committed By:   skrll
Date:           Sat Jun 12 08:12:03 UTC 2010

Modified Files:
        src/sys/net: if.c

Log Message:
Correct the argument order of ifreqn2o conversion.

Fixes PR/42585.


To generate a diff of this commit:
cvs rdiff -u -r1.243 -r1.244 src/sys/net/if.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/net/if.c
diff -u src/sys/net/if.c:1.243 src/sys/net/if.c:1.244
--- src/sys/net/if.c:1.243	Wed Jun  2 23:41:14 2010
+++ src/sys/net/if.c	Sat Jun 12 08:12:03 2010
@@ -1,4 +1,4 @@
-/*	$NetBSD: if.c,v 1.243 2010/06/02 23:41:14 dyoung Exp $	*/
+/*	$NetBSD: if.c,v 1.244 2010/06/12 08:12:03 skrll Exp $	*/
 
 /*-
  * Copyright (c) 1999, 2000, 2001, 2008 The NetBSD Foundation, Inc.
@@ -90,7 +90,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if.c,v 1.243 2010/06/02 23:41:14 dyoung Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if.c,v 1.244 2010/06/12 08:12:03 skrll Exp $");
 
 #include "opt_inet.h"
 
@@ -1817,7 +1817,7 @@
 	}
 #ifdef COMPAT_OIFREQ
 	if (cmd != ocmd)
-		ifreqn2o(oifr, ifr);
+		ifreqn2o(ifr, oifr);
 #endif
 
 	return error;

Reply via email to