]> git.ipfire.org Git - ipfire-2.x.git/blob - src/patches/collectd/0021-openvpn-Fix-copy-and-paste-error.patch
Merge branch 'master' into next
[ipfire-2.x.git] / src / patches / collectd / 0021-openvpn-Fix-copy-and-paste-error.patch
1 From 41253b68808deade2a1866f0c24f4bbc029a92c2 Mon Sep 17 00:00:00 2001
2 From: Michael Tremer <michael.tremer@ipfire.org>
3 Date: Wed, 24 Sep 2014 14:38:04 +0200
4 Subject: [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
10 diff --git a/src/openvpn.c b/src/openvpn.c
11 index 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 --
24 1.9.3
25