matt, you could first check which gws get loaded by turning debugging on: DBG("load_gws(): DEBUG: Added gw_addr_port_avp <%x, %d>\n", *((unsigned int *)(val.s->s)), *((unsigned short *)(val.s->s + 4))); -- juha