Module Name: src
Committed By: martin
Date: Mon May 11 06:58:13 UTC 2015
Modified Files:
src/usr.sbin/sysinst: net.c
Log Message:
Make it compile on architectures that do not support INET6 in sysinst
To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/usr.sbin/sysinst/net.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.sbin/sysinst/net.c
diff -u src/usr.sbin/sysinst/net.c:1.18 src/usr.sbin/sysinst/net.c:1.19
--- src/usr.sbin/sysinst/net.c:1.18 Sun May 10 10:14:02 2015
+++ src/usr.sbin/sysinst/net.c Mon May 11 06:58:13 2015
@@ -1,4 +1,4 @@
-/* $NetBSD: net.c,v 1.18 2015/05/10 10:14:02 martin Exp $ */
+/* $NetBSD: net.c,v 1.19 2015/05/11 06:58:13 martin Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@@ -490,10 +490,9 @@ config_network(void)
int menu_no;
int num_devs;
int selected_net;
-
- int i, rv;
+ int i;
#ifdef INET6
- int v6config = 1;
+ int v6config = 1, rv;
#endif
FILE *f;