Please can you post the output from 'ip route list' and the ip (to reproduce it)?
> -----Original Message----- > From: Alexandre DERUMIER [mailto:[email protected]] > Sent: Dienstag, 27. August 2013 15:27 > To: Dietmar Maurer > Cc: [email protected] > Subject: Re: [pve-devel] [PATCH 2/2] improve arp setup > > seem that is never matched > > $net->overlaps($ipobj) = 3->overlaps(3) > $IP_B_IN_A_OVERLAP = -2 > > my $net = new Net::IP($subnet); > if ($net->overlaps($ipobj) == $IP_B_IN_A_OVERLAP) { > $devinfo = { > iface => $dev, > net => $net, > }; > $devinfo->{gateway} = $gw if $gw; > } > > > then devinfo is empty and hang > > if ($devinfo->{net}->overlaps(Net::IP->new($gateway)) == > $IP_B_IN_A_OVERLAP) { > $devinfo->{gateway} = $gateway; > } _______________________________________________ pve-devel mailing list [email protected] http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
