astraceroute: Use proper type for ctx.sd_len
commitaec98a903f19ae408fe699ff0963b90990c46d83
authorTobias Klauser <tklauser@distanz.ch>
Mon, 14 Dec 2015 16:26:49 +0000 (14 17:26 +0100)
committerTobias Klauser <tklauser@distanz.ch>
Mon, 14 Dec 2015 16:26:49 +0000 (14 17:26 +0100)
tree81e29db8121d293e50b8f91c214ed29160aadc8a
parentee487be879431b5babea11218bf42b2d6d20809f
astraceroute: Use proper type for ctx.sd_len

The sd_len member of struct ctx stores a copy of struct addrinfo member
ai_addrlen which is of type socklen_t. Also it is used in a sendto()
call which also expects a socklen_t. Adjust sd_len to be socklen_t too.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
astraceroute.c