aboutsummaryrefslogtreecommitdiff
path: root/net.h
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2009-12-08 13:11:47 +0100
committerAnthony Liguori <aliguori@us.ibm.com>2009-12-12 07:59:43 -0600
commitcb4522ccf67ba84d246291d9f75bd7f3df137d1a (patch)
tree0f75897827368623ca718d7af904f56978f82566 /net.h
parentd8c208dd8a038d24ba4890156101bc679a8c8fef (diff)
default devices: network
Add a default_net variable which specified whenever a default network should be created. It is cleared in case any -net option is specified and it is also added to the new -nodefaults switch. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'net.h')
-rw-r--r--net.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/net.h b/net.h
index d583d590a7..4971fcbbb5 100644
--- a/net.h
+++ b/net.h
@@ -139,6 +139,7 @@ struct NICInfo {
extern int nb_nics;
extern NICInfo nd_table[MAX_NICS];
+extern int default_net;
/* BT HCI info */