From efe87cb9081ff3806182cf911f4fd8fbc4928244 Mon Sep 17 00:00:00 2001 From: Andrew Gallant Date: Sat, 28 Dec 2013 09:23:15 -0500 Subject: Ignore the "fd" field for the time being (for the shm extension only). --- nexgb/xgbgen/translation.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nexgb/xgbgen/translation.go b/nexgb/xgbgen/translation.go index 778304f..b7e67e2 100644 --- a/nexgb/xgbgen/translation.go +++ b/nexgb/xgbgen/translation.go @@ -207,7 +207,7 @@ func (x *XMLRequest) Translate() *Request { Reply: x.Reply.Translate(), } for _, field := range x.Fields { - if field.XMLName.Local == "doc" { + if field.XMLName.Local == "doc" || field.XMLName.Local == "fd" { continue } r.Fields = append(r.Fields, field.Translate(r)) @@ -238,7 +238,7 @@ func (x *XMLReply) Translate() *Reply { Fields: make([]Field, 0, len(x.Fields)), } for _, field := range x.Fields { - if field.XMLName.Local == "doc" { + if field.XMLName.Local == "doc" || field.XMLName.Local == "fd" { continue } r.Fields = append(r.Fields, field.Translate(r)) -- cgit v1.2.3-70-g09d2