Module Name:    src
Committed By:   christos
Date:           Tue Nov  2 22:34:21 UTC 2010

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

Log Message:
PR/44030: Onno van der Linden: ifreqn2o gets called with the parameters the
wrong way around in /sys/net/if.c


To generate a diff of this commit:
cvs rdiff -u -r1.245 -r1.246 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.245 src/sys/net/if.c:1.246
--- src/sys/net/if.c:1.245	Thu Sep 23 17:16:42 2010
+++ src/sys/net/if.c	Tue Nov  2 18:34:21 2010
@@ -1,4 +1,4 @@
-/*	$NetBSD: if.c,v 1.245 2010/09/23 21:16:42 christos Exp $	*/
+/*	$NetBSD: if.c,v 1.246 2010/11/02 22:34:21 christos 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.245 2010/09/23 21:16:42 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if.c,v 1.246 2010/11/02 22:34:21 christos Exp $");
 
 #include "opt_inet.h"
 
@@ -1817,7 +1817,7 @@
 	}
 #ifdef COMPAT_OIFREQ
 	if (cmd != ocmd)
-		ifreqn2o(ifr, oifr);
+		ifreqn2o(oifr, ifr);
 #endif
 
 	return error;

Reply via email to