if (rta->rta_type == RTA_GATEWAY) {
assert(RTA_PAYLOAD(rta) <= sizeof(*a));
memcpy(a, RTA_DATA(rta), RTA_PAYLOAD(rta));
if (rta->rta_type == RTA_GATEWAY) {
assert(RTA_PAYLOAD(rta) <= sizeof(*a));
memcpy(a, RTA_DATA(rta), RTA_PAYLOAD(rta));
* this may be a proxy connection from our NAT, so remember this, and don't
* inspect the remote addresses in the TCP tables.
*/
* this may be a proxy connection from our NAT, so remember this, and don't
* inspect the remote addresses in the TCP tables.
*/
* query is our gateway then don't check the remote address in the
* field (but do check the port number).
*/
* query is our gateway then don't check the remote address in the
* field (but do check the port number).
*/
- q->s[R].port != s[0].port :
- !sockeq(q->ao, &q->s[i], &s[0]))
+ q->s[R].port != s[i].port :
+ !sockeq(q->ao, &q->s[i], &s[i]))