]> git.ipfire.org Git - thirdparty/iproute2.git/commitdiff
l2tp: add missing newline on show output
authorStephen Hemminger <shemming@brocade.com>
Fri, 11 Sep 2015 22:26:58 +0000 (15:26 -0700)
committerStephen Hemminger <shemming@brocade.com>
Fri, 11 Sep 2015 22:26:58 +0000 (15:26 -0700)
After cookie there was no newline.

ip/ipl2tp.c

index 2f7c9bf1c737f2a53681fe67ba7d49e8333f429e..f050880eef02aa024d8bae94ab1fa1fb290c0bd9 100644 (file)
@@ -234,9 +234,10 @@ static void print_session(struct l2tp_data *data)
        if (p->peer_cookie_len > 0)
                print_cookie("peer cookie", p->peer_cookie, p->peer_cookie_len);
 
-       if (p->reorder_timeout != 0) {
+       if (p->reorder_timeout != 0)
                printf("  reorder timeout: %u\n", p->reorder_timeout);
-       }
+       else
+               printf("\n");
 }
 
 static int get_response(struct nlmsghdr *n, void *arg)