From b9c47c5089e535df746e6937d005448f56235f60 Mon Sep 17 00:00:00 2001 From: goldsimon Date: Wed, 3 May 2017 09:56:08 +0200 Subject: [PATCH] tcp_route: add comment, fixed whitespace --- src/core/tcp_out.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/core/tcp_out.c b/src/core/tcp_out.c index 8079f784..c87b6a9a 100644 --- a/src/core/tcp_out.c +++ b/src/core/tcp_out.c @@ -94,7 +94,9 @@ /* Forward declarations.*/ static err_t tcp_output_segment(struct tcp_seg *seg, struct tcp_pcb *pcb, struct netif *netif); -static struct netif* tcp_route(const struct tcp_pcb *pcb, const ip_addr_t *src, const ip_addr_t *dst) +/* tcp_route: common code that returns a fixed bound netif or calls ip_route */ +static struct netif * +tcp_route(const struct tcp_pcb *pcb, const ip_addr_t *src, const ip_addr_t *dst) { LWIP_UNUSED_ARG(src); /* in case IPv4-only and source-based routing is disabled */