From 8168a433f038fc5cb787e153605a1f349912ee2f Mon Sep 17 00:00:00 2001 From: Andy Bavier Date: Fri, 3 Jun 2005 17:42:39 +0000 Subject: [PATCH] Bug fix to handle change in output of 'tc -s -d qdisc show' in 2.6.10 kernel --- pl_mom.pl | 2 +- pl_mom.spec | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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} -- 2.43.0