remove the variable here

This commit is contained in:
Miek Gieben 2011-01-01 22:40:55 +01:00
parent 84dfab0d7f
commit e1d0db4107
1 changed files with 1 additions and 2 deletions

View File

@ -91,8 +91,7 @@ func (rr *RR_OPT) DoBit(do, set bool) bool {
rr.Hdr.Ttl = uint32(b1)<<24 | uint32(b2)<<16 | uint32(b3)<<8 | uint32(b4)
return true
} else {
b3 := byte(rr.Hdr.Ttl >> 8)
return b3&_DO == _DO
return byte(rr.Hdr.Ttl >> 8) &_DO == _DO
}
return true // dead code, bug in Go
}