From e8fc31359bb34a2c0071887413b1820ea0cd65d2 Mon Sep 17 00:00:00 2001
From: Peter De Cleyn <peter.decleyn@gmail.com>
Date: Tue, 21 Feb 2017 08:19:22 +0100
Subject: [PATCH] Added support to alias interfaces (e.g., ifname0:1)

---
 net/net_linux.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net/net_linux.go b/net/net_linux.go
index 8905b13..17b9dc8 100644
--- a/net/net_linux.go
+++ b/net/net_linux.go
@@ -37,7 +37,7 @@ func IOCountersByFile(pernic bool, filename string) ([]IOCountersStat, error) {
 	ret := make([]IOCountersStat, 0, statlen)
 
 	for _, line := range lines[2:] {
-		parts := strings.SplitN(line, ":", 2)
+		parts := strings.SplitN(line, ": ", 2)
 		if len(parts) != 2 {
 			continue
 		}