From 11afd94828080f0cf3ecd24393b243f6651c0e26 Mon Sep 17 00:00:00 2001 From: Toni Uhlig Date: Mon, 9 Sep 2019 20:25:26 +0200 Subject: typ0s fixed Signed-off-by: Toni Uhlig --- src/pdesc.c | 2 +- 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); -- cgit v1.2.3