@@ -112,10 +112,7 @@ int print_rr_body(struct hdr_field *iroute, str *oroute, int order,
p = p->next;
}
- for(iroute = iroute->next; iroute; iroute = iroute->next) {
- if (iroute->type == HDR_ROUTE_T) break;
- }
-/* iroute = iroute->sibling; */
+ iroute = next_sibling_hdr(iroute);
for(i=0;i<n;i++){