"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "lib/Ocsinventory/Agent/Backend/OS/Linux/Network/Networks.pm" between
Ocsinventory-Unix-Agent-2.8.0.tar.gz and Ocsinventory-Unix-Agent-2.8.1.tar.gz

About: Ocsinventory-Agent is a Linux agent for OCS Inventory NG.

Networks.pm  (Ocsinventory-Unix-Agent-2.8.0):Networks.pm  (Ocsinventory-Unix-Agent-2.8.1)
skipping to change at line 784 skipping to change at line 784
} elsif (ip_is_ipv6($prefix)) { } elsif (ip_is_ipv6($prefix)) {
foreach my $line (`route -6n`){ foreach my $line (`route -6n`){
next if $line =~ /^2002/; next if $line =~ /^2002/;
$route = $1 if $line =~ /^(.*)\/.*/; $route = $1 if $line =~ /^(.*)\/.*/;
} }
} }
return $route; return $route;
} }
1; 1;
__END__
=head1 NAME =head1 NAME
OCSInventory::Agent::Backend::OS::Linux::Network::Networks - Network-related fun ctions OCSInventory::Agent::Backend::OS::Linux::Network::Networks - Network-related fun ctions
=head1 DESCRIPTION =head1 DESCRIPTION
This module retrieves network informations. This module retrieves network information.
=head1 FUNCTIONS =head1 FUNCTIONS
=head2 getSpeed =head2 getSpeed
Returns the speed of the card. Returns the speed of the card.
=head2 getDuplex =head2 getDuplex
Returns duplex state of the card. Returns duplex state of the card.
skipping to change at line 842 skipping to change at line 843
Returns if card has a bonding. Returns if card has a bonding.
=head2 getIPRoute =head2 getIPRoute
Returns the gateway defined int he ip config. Returns the gateway defined int he ip config.
=head2 getRouteIfconfig =head2 getRouteIfconfig
Returns the gateway defined in the ip config. Returns the gateway defined in the ip config.
=back
 End of changes. 3 change blocks. 
1 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)