From: Andy Bavier Date: Fri, 3 Jun 2005 17:42:39 +0000 (+0000) Subject: Bug fix to handle change in output of 'tc -s -d qdisc show' in 2.6.10 kernel X-Git-Tag: planetlab-3_1-rc2~1 X-Git-Url: http://git.onelab.eu/?p=mom.git;a=commitdiff_plain;h=8168a433f038fc5cb787e153605a1f349912ee2f Bug fix to handle change in output of 'tc -s -d qdisc show' in 2.6.10 kernel --- diff --git a/pl_mom.pl b/pl_mom.pl index 13c79e4..86a56c8 100755 --- a/pl_mom.pl +++ b/pl_mom.pl @@ -251,7 +251,7 @@ sub get_baseline_counts { my $sliceid = "9999"; @Lines = split(/\n/, $status); foreach $line ( @Lines ) { - if ($line =~ /qdisc pfifo (.*):/) { + if ($line =~ /qdisc pfifo (.*): dev/) { $sliceid = $1; } else { if ($line =~ /Sent (.*) bytes/) { diff --git a/pl_mom.spec b/pl_mom.spec index 868de3b..d476755 100644 --- a/pl_mom.spec +++ b/pl_mom.spec @@ -1,6 +1,6 @@ %define name pl_mom %define version 0.3 -%define release 7.planetlab%{?date:.%{date}} +%define release 8.planetlab%{?date:.%{date}} Summary: PlanetLab mom -- Cleans up your mess Name: %{name}