aboutsummaryrefslogtreecommitdiffstats
path: root/xen-2.4.16/common/kernel.c
diff options
context:
space:
mode:
Diffstat (limited to 'xen-2.4.16/common/kernel.c')
-rw-r--r--xen-2.4.16/common/kernel.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/xen-2.4.16/common/kernel.c b/xen-2.4.16/common/kernel.c
index fc49e8641d..4c4d354f47 100644
--- a/xen-2.4.16/common/kernel.c
+++ b/xen-2.4.16/common/kernel.c
@@ -176,6 +176,7 @@ void cmain (unsigned long magic, multiboot_info_t *mbi)
/* Create initial domain 0. */
dom0_params.num_vifs = 1;
dom0_params.memory_kb = opt_dom0_mem;
+ add_default_net_rule(0, opt_ipbase); // add vfr info for dom0
new_dom = do_newdomain();
if ( new_dom == NULL ) panic("Error creating domain 0\n");