Commit 8c8371f7 authored by Leigh B. Stoller's avatar Leigh B. Stoller

Kludge fix so that 1.1 links are not considered a widearea IP, and

treated specially by the parser. Changed it to another bogus
hardwired IP!
parent 0ab5ad3e
......@@ -2,7 +2,7 @@
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-2003 University of Utah and the Flux Group.
# Copyright (c) 2000-2004 University of Utah and the Flux Group.
# All rights reserved.
#
......@@ -264,7 +264,7 @@ while (my ($vname,$ips) = $query_result->fetchrow_array()) {
my ($port,$ip) = split(":", $ipinfo);
my ($a,$b,$c,$d) = ($ip =~ /(\d+).(\d+).(\d+).(\d+)/);
if ($a eq "1" && $b eq "1") {
if ($a eq "69" && $b eq "69") {
my $net = inet_ntoa(inet_aton($WANETMASK) & inet_aton($ip));
if (! defined($subnetmap{$net})) {
......
# -*- tcl -*-
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-2003 University of Utah and the Flux Group.
# Copyright (c) 2000-2004 University of Utah and the Flux Group.
# All rights reserved.
#
......@@ -888,7 +888,7 @@ Simulator instproc get_subnet_remote {} {
}
set subnet $wa_subnet_counter
incr wa_subnet_counter
return "1.1.$subnet.0"
return "69.69.$subnet.0"
}
# use_subnet
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment