~ubuntu-branches/ubuntu/utopic/lksctp-tools/utopic-proposed

« back to all changes in this revision

Viewing changes to src/apps/sctp_darn.c

  • Committer: Bazaar Package Importer
  • Author(s): Michael Biebl
  • Date: 2009-04-30 11:53:58 UTC
  • mfrom: (1.1.8 upstream) (4.1.3 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090430115358-b7zr6yo562yrwhwu
Tags: 1.0.10+dfsg-1
* New upstream release.
* Repackaged upstream tarball to remove non-free documentation in doc/*.
* debian/copyright
  - Add a note why the upstream tarball has been repackaged and which files
    have been removed.
* debian/watch
  - Fix regex to match version numbers with more than one digit.
  - Use +dfsg suffix.
* debian/control
  - Bump Standards-Version to 3.8.1. No further changes.
* debian/libsctp1.symbols
  - The sctp_connectx() function was updated to conform to the spec.
    To preserve the ABI, symbol versioning has been added by upstream.
    Update the symbols file accordingly.

Show diffs side-by-side

added added

removed removed

Lines of Context:
720
720
                        }
721
721
                        break;
722
722
                }
723
 
                test_print_message(sk, &inmessage, error);
724
723
 
725
724
                /* Update the associd when a notification is received on a
726
725
                 * UDP-style socket.
730
729
 
731
730
                if (echo) {
732
731
                        if( !(MSG_NOTIFICATION & inmessage.msg_flags)) {
733
 
                                sendto(sk, inmessage.msg_iov->iov_base,
 
732
                                sendto(recvsk, inmessage.msg_iov->iov_base,
734
733
                                       error, 0, (struct sockaddr *)&msgname,
735
734
                                       sizeof(msgname));
736
735
                        }
737
736
                }
738
737
 
 
738
                test_print_message(sk, &inmessage, error);
739
739
 
740
740
                inmessage.msg_control = incmsg;
741
741
                inmessage.msg_controllen = sizeof(incmsg);
1857
1857
                }
1858
1858
        }
1859
1859
 
1860
 
        error = sctp_connectx(sk, addrs, count);
 
1860
        error = sctp_connectx(sk, addrs, count, NULL);
1861
1861
 
1862
1862
        if (error != 0) {
1863
1863
                if (errno == ECONNREFUSED)