Skip to content

Commit

Permalink
fixed two errors and version number
Browse files Browse the repository at this point in the history
  • Loading branch information
acfnews committed Jan 23, 2012
1 parent 9f987fd commit df44982
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions rip44d
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ my $route_ttl = 7*24*60*60;
my %current_routes;

my $me = 'rip44d';
my $VERSION = '1.3';
my $VERSION = '1.4';

openlog($me, 'cons,pid', 'user');

Expand Down Expand Up @@ -119,7 +119,7 @@ sub fill_local_ifs()
my $s = `$ifconfig -a`;

while ($s =~ s/inet addr:(\d+\.\d+\.\d+\.\d+)//) {
do_syslog("found local address: $1") if ( $verbose >= 1 );
do_syslog("found local address: $1") if ($verbose);
$my_addresses{$1} = 1;
}
}
Expand Down Expand Up @@ -443,7 +443,7 @@ fill_local_ifs();
system($ifconfig, $tunnel_if, 'multicast') == 0 or die "ifconfig $tunnel_if multicast failed: $?\n";

# Create the UDP multicast socket to receive RIP broadcasts
do_syslog("opening UDP socket $UDP_port...") if ( $verbose >= 1 );
do_syslog("opening UDP socket $UDP_port...") if ($verbose);
my $socket = IO::Socket::Multicast->new(
LocalPort => $UDP_port,
ReuseAddr => 1,
Expand Down

0 comments on commit df44982

Please sign in to comment.