Fix the OPT Len() function

This commit is contained in:
Miek Gieben 2012-01-12 20:16:16 +01:00
parent 2829cf1c01
commit c70a559315
1 changed files with 1 additions and 0 deletions

View File

@ -80,6 +80,7 @@ func (rr *RR_OPT) Len() int {
for i := 0; i < len(rr.Option); i++ {
l += 2 + len(rr.Option[i].Data)/2
}
return l
}
// TODO(mg)