• R/O
  • HTTP
  • SSH
  • HTTPS

multi_forward: Commit


Commit MetaInfo

Revisionf8f92f625839205cc8d0d28b899b67cd9c65f9b9 (tree)
Zeit2019-10-25 19:40:03
AutorSatoshi Yasuda <7m3tjz@jarl...>
CommiterSatoshi Yasuda

Log Message

modified: forward_in.c

Ändern Zusammenfassung

Diff

--- a/forward_in.c
+++ b/forward_in.c
@@ -480,8 +480,8 @@ send:
480480 next = MultiConnectTablePnt;
481481 while (next)
482482 {
483- if ((multi_addr.sin_addr.s_addr == next->multi_addr.sin_addr.s_addr)
484- && (multi_addr.sin_port == next->multi_addr.sin_port))
483+ if ((multi_addr.sin_addr.s_addr != next->multi_addr.sin_addr.s_addr)
484+ || (multi_addr.sin_port != next->multi_addr.sin_port))
485485 {
486486 ret = sendto (multi_sd, &multi_buff, length, 0,
487487 (struct sockaddr *)&next->multi_addr,
@@ -505,8 +505,8 @@ send:
505505 next = MultiConnectTablePnt;
506506 while (next)
507507 {
508- if ((multi_addr.sin_addr.s_addr == next->multi_addr.sin_addr.s_addr)
509- && (multi_addr.sin_port == next->multi_addr.sin_port))
508+ if ((multi_addr.sin_addr.s_addr != next->multi_addr.sin_addr.s_addr)
509+ || (multi_addr.sin_port != next->multi_addr.sin_port))
510510 {
511511 if ((multi_buff.d_packet.trunk.FrameSeq == 0x14) && ar_call_next)
512512 {
Show on old repository browser