diff options
-rw-r--r-- | src/pdesc.c | 2 | ||||
-rw-r--r-- | src/pdesc.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/pdesc.c b/src/pdesc.c index c2dd2c0..aebaa1e 100644 --- a/src/pdesc.c +++ b/src/pdesc.c @@ -190,7 +190,7 @@ forward_desc_t* create_fwd_desc(uint16_t seq_no, uint32_t data_len, char *data) * to the given send ring, for potential resends later on. */ int queue_packet(int sock_fd, proxy_desc_t *cur, char *buf, size_t bufsiz, - uint32_t dest_ip, u_int16_t dest_port, uint32_t state) + uint32_t dest_ip, uint32_t dest_port, uint32_t state) { int pkt_len = sizeof(icmp_echo_packet_t) + sizeof(ping_tunnel_pkt_t) + bufsiz; diff --git a/src/pdesc.h b/src/pdesc.h index 02cab32..125e8d9 100644 --- a/src/pdesc.h +++ b/src/pdesc.h @@ -181,7 +181,7 @@ void remove_proxy_desc_rings(proxy_desc_t *cur); forward_desc_t* create_fwd_desc(uint16_t seq_no, uint32_t data_len, char *data); int queue_packet(int sock_fd, proxy_desc_t *cur, char *buf, size_t bufsiz, - uint32_t dest_ip, u_int16_t dest_port, uint32_t state); + uint32_t dest_ip, uint32_t dest_port, uint32_t state); uint32_t send_packets(forward_desc_t *ring[], int *xfer_idx, int *await_send, int *sock, uint16_t window_size); |