Changeset 2343 for trunk/libtransmission/natpmp.c
- Timestamp:
- Jul 14, 2007, 4:29:21 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libtransmission/natpmp.c
r2311 r2343 22 22 * DEALINGS IN THE SOFTWARE. 23 23 *****************************************************************************/ 24 25 #include <sys/types.h> 26 #include <sys/socket.h> 27 #include <netinet/in.h> 28 #include <arpa/inet.h> 24 29 25 30 #include "transmission.h" … … 511 516 } 512 517 513 ret->fd = tr_netOpenUDP( addr, htons( PMP_PORT ), 1 );518 ret->fd = tr_netOpenUDP( &addr, htons( PMP_PORT ), 1 ); 514 519 if( 0 > ret->fd ) 515 520 { … … 667 672 668 673 addr.s_addr = inet_addr( PMP_MCAST_ADDR ); 669 fd = tr_netMcastOpen( PMP_PORT, addr );674 fd = tr_netMcastOpen( PMP_PORT, &addr ); 670 675 if( 0 > fd ) 671 676 {
Note: See TracChangeset
for help on using the changeset viewer.