Correct me if I'm wrong but can't you fold this into the previous loop over addrs? The one with the bzero in it?