diff options
author | Toni Uhlig <matzeton@googlemail.com> | 2019-09-09 20:25:26 +0200 |
---|---|---|
committer | Toni Uhlig <matzeton@googlemail.com> | 2019-09-09 20:25:26 +0200 |
commit | 11afd94828080f0cf3ecd24393b243f6651c0e26 (patch) | |
tree | b284bdce6a8bb6c09185ef20ead42216e1a47e69 | |
parent | ef793d16503a1ee37cdbadd21d401a0329e9273f (diff) |
typ0s fixed
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
-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); |