aboutsummaryrefslogtreecommitdiff
path: root/nexgb
diff options
context:
space:
mode:
Diffstat (limited to 'nexgb')
-rw-r--r--nexgb/xgbgen/translation.go4
1 files 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))