summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc/knemo/files/knemo-0.3.1-linkquality.patch')
-rw-r--r--net-misc/knemo/files/knemo-0.3.1-linkquality.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/net-misc/knemo/files/knemo-0.3.1-linkquality.patch b/net-misc/knemo/files/knemo-0.3.1-linkquality.patch
new file mode 100644
index 000000000000..ef0bb34b8ae2
--- /dev/null
+++ b/net-misc/knemo/files/knemo-0.3.1-linkquality.patch
@@ -0,0 +1,11 @@
+--- knemo-0.3.1/knemod/interfaceupdater.cpp.orig 2004-08-20 16:26:41.000000000 -0400
++++ knemo-0.3.1/knemod/interfaceupdater.cpp 2005-02-24 18:51:40.107178056 -0500
+@@ -398,7 +398,7 @@
+ if ( regExp.search( config ) > -1 )
+ data.noise = regExp.cap( 1 );
+
+- regExp.setPattern( "Link Quality:([\\d/]*)" );
++ regExp.setPattern( "Link Quality[:=]([\\d/]*)" );
+ if ( regExp.search( config ) > -1 )
+ data.linkQuality = regExp.cap( 1 );
+ }