FS-3813 --resolve this should be ok

This commit is contained in:
Anthony Minessale 2012-01-16 12:47:37 -06:00
parent c646cb402c
commit 7938fd81cc
2 changed files with 4 additions and 4 deletions

View File

@ -1 +1 @@
Sun Dec 18 11:07:07 EST 2011
Mon Jan 16 12:47:24 CST 2012

View File

@ -359,7 +359,7 @@ void tport_capt_msg(tport_t const *self, msg_t *msg, size_t n,
assert(self); assert(msg);
su = msg_addr(msg);
su_self = self->tp_addr;
su_self = self->tp_pri->pri_primary->tp_addr;
mr = self->tp_master;
@ -402,8 +402,8 @@ void tport_capt_msg(tport_t const *self, msg_t *msg, size_t n,
}
#endif
hep_header.hp_dport = dst ? su->su_port : htons(atoi(self->tp_port));
hep_header.hp_sport = dst ? htons(atoi(self->tp_port)) : su->su_port;
hep_header.hp_dport = dst ? su->su_port : su_self->su_port;
hep_header.hp_sport = dst ? su_self->su_port : su->su_port;
/* Copy hepheader */