aboutsummaryrefslogtreecommitdiffstats
path: root/src/link_udp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/link_udp.c')
-rw-r--r--src/link_udp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/link_udp.c b/src/link_udp.c
index 01296dc..9a7d645 100644
--- a/src/link_udp.c
+++ b/src/link_udp.c
@@ -81,7 +81,7 @@ static int udp_read_cb(struct bsc_fd *fd)
}
/* throw away data as the link is down */
- if (link->the_link->available == 0) {
+ if (link->set->available == 0) {
LOGP(DINP, LOGL_ERROR, "The link is down. Not forwarding.\n");
rc = 0;
goto exit;