Module Name: src Committed By: pooka Date: Wed Jul 3 19:13:33 UTC 2013
Modified Files: src/tests/net/config: netconfig.c Log Message: Remove makevirtif(), it's not likely to be used in testing. (and this file should go away anyway in favor of using ifconfig etc.) To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/tests/net/config/netconfig.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/tests/net/config/netconfig.c diff -u src/tests/net/config/netconfig.c:1.7 src/tests/net/config/netconfig.c:1.8 --- src/tests/net/config/netconfig.c:1.7 Mon Feb 28 21:21:14 2011 +++ src/tests/net/config/netconfig.c Wed Jul 3 19:13:33 2013 @@ -1,4 +1,4 @@ -/* $NetBSD: netconfig.c,v 1.7 2011/02/28 21:21:14 pooka Exp $ */ +/* $NetBSD: netconfig.c,v 1.8 2013/07/03 19:13:33 pooka Exp $ */ /*- * Copyright (c) 2010 The NetBSD Foundation, Inc. @@ -29,7 +29,7 @@ #include <sys/cdefs.h> #ifndef lint -__RCSID("$NetBSD: netconfig.c,v 1.7 2011/02/28 21:21:14 pooka Exp $"); +__RCSID("$NetBSD: netconfig.c,v 1.8 2013/07/03 19:13:33 pooka Exp $"); #endif /* not lint */ #include <sys/types.h> @@ -72,20 +72,6 @@ netcfg_rump_makeshmif(const char *busnam } static void __unused -netcfg_rump_makevirtif(int ifnum, char *ifname) -{ - int rv; - - if ((rv = rump_pub_virtif_create(ifnum)) != 0) { - if (noatf) - err(1, "makeshmif: rump_pub_virtif_create %d", rv); - else - atf_tc_fail("makeshmif: rump_pub_virtif_create %d", rv); - } - sprintf(ifname, "virt%d", ifnum); -} - -static void __unused netcfg_rump_if(const char *ifname, const char *addr, const char *mask) { struct ifaliasreq ia;