From eb25ddcf286219258e250feb6f48b787caf35d4b Mon Sep 17 00:00:00 2001 From: Lehner Florian Date: Thu, 4 Jul 2019 20:43:40 +0200 Subject: [PATCH] Fix bug Signed-off-by: Lehner Florian --- attributeTcMsg.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/attributeTcMsg.go b/attributeTcMsg.go index 4523f1f..57362f3 100644 --- a/attributeTcMsg.go +++ b/attributeTcMsg.go @@ -60,7 +60,7 @@ func extractTcmsgAttributes(data []byte, info *Attribute) error { } if len(xStats) > 0 { tcxstats := &XStats{} - if err := extractXStats(ad.Bytes(), tcxstats, info.Kind); err != nil { + if err := extractXStats(xStats, tcxstats, info.Kind); err != nil { return err } info.XStats = tcxstats