ips->srcadr = GET_INADDR(pp->srcadr);
if (client_v6_capable)
ips->v6_flag = 0;
-/* XXX This code is buggy. Replaced with a straightforward assignment
+/* XXX PDM This code is buggy. Need to replace with a straightforward assignment */
ips->dstadr = (pp->processed) ?
pp->cast_flags == MDF_BCAST ?
GET_INADDR(pp->dstadr->bcast):
GET_INADDR(pp->dstadr->sin) ?
GET_INADDR(pp->dstadr->sin):
GET_INADDR(pp->dstadr->bcast):
- 1 : 5;
-*/
- ips->dstadr = GET_INADDR(pp->dstadr->sin);
+ 1 : GET_INADDR(pp->dstadr->sin);
+
skip = 0;
}
if (!skip){
ip->srcadr6 = GET_INADDR6(pp->srcadr);
ip->v6_flag = 1;
} else {
-/* XXX This code is buggy. Replaced with a straightforward assignment
+/* XXX PDM This code is buggy. Need to replace with a straightforward assignment */
ip->dstadr = (pp->processed) ?
pp->cast_flags == MDF_BCAST ?
GET_INADDR(pp->dstadr->bcast):
GET_INADDR(pp->dstadr->sin) ?
GET_INADDR(pp->dstadr->sin):
GET_INADDR(pp->dstadr->bcast):
- 2 : 6;
-*/
- ip->dstadr = GET_INADDR(pp->dstadr->sin);
+ 2 : GET_INADDR(pp->dstadr->sin);
+
ip->srcadr = GET_INADDR(pp->srcadr);
if (client_v6_capable)
ip->v6_flag = 0;