提交 7938fd81 authored 作者: Anthony Minessale's avatar Anthony Minessale

FS-3813 --resolve this should be ok

上级 c646cb40
Sun Dec 18 11:07:07 EST 2011 Mon Jan 16 12:47:24 CST 2012
...@@ -359,7 +359,7 @@ void tport_capt_msg(tport_t const *self, msg_t *msg, size_t n, ...@@ -359,7 +359,7 @@ void tport_capt_msg(tport_t const *self, msg_t *msg, size_t n,
assert(self); assert(msg); assert(self); assert(msg);
su = msg_addr(msg); su = msg_addr(msg);
su_self = self->tp_addr; su_self = self->tp_pri->pri_primary->tp_addr;
mr = self->tp_master; mr = self->tp_master;
...@@ -402,8 +402,8 @@ void tport_capt_msg(tport_t const *self, msg_t *msg, size_t n, ...@@ -402,8 +402,8 @@ void tport_capt_msg(tport_t const *self, msg_t *msg, size_t n,
} }
#endif #endif
hep_header.hp_dport = dst ? su->su_port : htons(atoi(self->tp_port)); hep_header.hp_dport = dst ? su->su_port : su_self->su_port;
hep_header.hp_sport = dst ? htons(atoi(self->tp_port)) : su->su_port; hep_header.hp_sport = dst ? su_self->su_port : su->su_port;
/* Copy hepheader */ /* Copy hepheader */
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论