Module Name:    src
Committed By:   pgoyette
Date:           Tue Mar  6 23:46:14 UTC 2018

Modified Files:
        src/sys/net [pgoyette-compat]: if.c

Log Message:
Allocate and initialize the vector for compat_ifconf()


To generate a diff of this commit:
cvs rdiff -u -r1.419.2.1 -r1.419.2.2 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.419.2.1 src/sys/net/if.c:1.419.2.2
--- src/sys/net/if.c:1.419.2.1	Tue Mar  6 05:46:06 2018
+++ src/sys/net/if.c	Tue Mar  6 23:46:14 2018
@@ -1,4 +1,4 @@
-/*	$NetBSD: if.c,v 1.419.2.1 2018/03/06 05:46:06 pgoyette Exp $	*/
+/*	$NetBSD: if.c,v 1.419.2.2 2018/03/06 23:46:14 pgoyette 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.419.2.1 2018/03/06 05:46:06 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if.c,v 1.419.2.2 2018/03/06 23:46:14 pgoyette Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_inet.h"
@@ -265,6 +265,8 @@ void stub_compat_ifreqo2n(struct oifreq 
 void (*vec_compat_ifreqo2n)(struct oifreq *, struct ifreq *) =
     stub_compat_ifreqo2n;
 
+int (*vec_compat_ifconf)(u_long, void *) = stub_compat_ifconf;
+
 int stub_compat_ifconf(u_long, void *);
 int (*vec_compat_ifconf)(u_long, void *) = stub_compat_ifconf;
 

Reply via email to