X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=lib%2Fplanetlab.c;fp=lib%2Fplanetlab.c;h=a41294019dfbede4fde17bc3a477f009a53c926d;hb=26bb2db0b9dc056be9cbd3fb6ade428700c75247;hp=44ac625c9f8e4a2e373a2903640819fe6a29d941;hpb=93df17be4f833ac7131835ec0505fe8a546a0495;p=util-vserver.git diff --git a/lib/planetlab.c b/lib/planetlab.c index 44ac625..a412940 100644 --- a/lib/planetlab.c +++ b/lib/planetlab.c @@ -67,14 +67,6 @@ create_context(xid_t ctx, uint64_t bcaps, struct sliver_resources *slr) if (vc_set_nflags(ctx, &vc_nf)) return -1; - /* XXX: Allow access to all IPv4 addresses (for now) */ - vc_net.type = vcNET_IPV4; - vc_net.count = 1; - vc_net.ip[0] = 0; - vc_net.mask[0] = 0; - if (vc_net_add(ctx, &vc_net) == -1) - return -1; - process: /* * Create context info - this sets the STATE_SETUP and STATE_INIT flags.