]> git.ipfire.org Git - ipfire-2.x.git/blame - src/patches/collectd/0021-openvpn-Fix-copy-and-paste-error.patch
Merge branch 'next' of ssh://git.ipfire.org/pub/git/ipfire-2.x into next
[ipfire-2.x.git] / src / patches / collectd / 0021-openvpn-Fix-copy-and-paste-error.patch
CommitLineData
2056dd30
AM
1From 41253b68808deade2a1866f0c24f4bbc029a92c2 Mon Sep 17 00:00:00 2001
2From: Michael Tremer <michael.tremer@ipfire.org>
3Date: Wed, 24 Sep 2014 14:38:04 +0200
4Subject: [PATCH 21/22] openvpn: Fix copy-and-paste error
5
6---
7 src/openvpn.c | 2 +-
8 1 file changed, 1 insertion(+), 1 deletion(-)
9
10diff --git a/src/openvpn.c b/src/openvpn.c
11index f686721..2db3677 100644
12--- a/src/openvpn.c
13+++ b/src/openvpn.c
14@@ -293,7 +293,7 @@ static int multi1_read (char *name, FILE *fh)
15 continue;
16
17 // Ignore not yet fully established connections
18- if (strcmp(fields[1], "UNDEF") == 0)
19+ if (strcmp(fields[0], "UNDEF") == 0)
20 continue;
21
22 if (collect_user_count)
23--
241.9.3
25