diff options
Diffstat (limited to 'extras/libmemif/examples')
-rw-r--r-- | extras/libmemif/examples/icmp_responder-epoll/main.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/extras/libmemif/examples/icmp_responder-epoll/main.c b/extras/libmemif/examples/icmp_responder-epoll/main.c index 70095ddfed5..02414fa25be 100644 --- a/extras/libmemif/examples/icmp_responder-epoll/main.c +++ b/extras/libmemif/examples/icmp_responder-epoll/main.c @@ -212,7 +212,10 @@ print_memif_details () if (md.link_up_down) printf ("up\n"); else - printf ("down\n"); + { + printf ("down\n"); + printf ("\treason: %s\n", md.error); + } } free (buf); } |