aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Blundell <philb@gnu.org>1998-01-31 12:24:54 +0000
committerPhil Blundell <philb@gnu.org>1998-01-31 12:24:54 +0000
commit71b70d43b365a4e8256b1f0d2195a8f6836bd8f9 (patch)
tree5b743f8f1a42342618f52c890a992cc6c4f73b93 /lib/inet6_gr.c
parentChange version number and release 980126 snapshot (diff)
downloadnet-tools-71b70d43b365a4e8256b1f0d2195a8f6836bd8f9.tar.gz
net-tools-71b70d43b365a4e8256b1f0d2195a8f6836bd8f9.tar.bz2
net-tools-71b70d43b365a4e8256b1f0d2195a8f6836bd8f9.zip
Always display a U flag for routes
Diffstat (limited to 'lib/inet6_gr.c')
-rw-r--r--lib/inet6_gr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/inet6_gr.c b/lib/inet6_gr.c
index 9114f59..385d6c6 100644
--- a/lib/inet6_gr.c
+++ b/lib/inet6_gr.c
@@ -116,7 +116,7 @@ int rprint_fib6(int ext, int numeric)
inet6_aftype.sprint((struct sockaddr *)&snaddr6, 1));
/* Decode the flags. */
- flags[0] = '\0';
+ strcpy(flags, "U");
if (iflags & RTF_GATEWAY) strcat(flags, "G");
if (iflags & RTF_HOST) strcat(flags, "H");
if (iflags & RTF_DEFAULT) strcat(flags, "D");