Module Name: src
Committed By: riz
Date: Sat Jun 12 16:37:55 UTC 2010
Modified Files:
src/sys/net [netbsd-5]: if.c
Log Message:
Pull up following revision(s) (requested by skrll in ticket #1416):
sys/net/if.c: revision 1.244
Correct the argument order of ifreqn2o conversion.
Fixes PR/42585.
To generate a diff of this commit:
cvs rdiff -u -r1.230.4.2 -r1.230.4.3 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.230.4.2 src/sys/net/if.c:1.230.4.3
--- src/sys/net/if.c:1.230.4.2 Sat Nov 28 15:47:05 2009
+++ src/sys/net/if.c Sat Jun 12 16:37:55 2010
@@ -1,4 +1,4 @@
-/* $NetBSD: if.c,v 1.230.4.2 2009/11/28 15:47:05 bouyer Exp $ */
+/* $NetBSD: if.c,v 1.230.4.3 2010/06/12 16:37:55 riz 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.230.4.2 2009/11/28 15:47:05 bouyer Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if.c,v 1.230.4.3 2010/06/12 16:37:55 riz Exp $");
#include "opt_inet.h"
@@ -1713,7 +1713,7 @@
}
#ifdef COMPAT_OIFREQ
if (cmd != ocmd)
- ifreqn2o(oifr, ifr);
+ ifreqn2o(ifr, oifr);
#endif
return error;