diff options
Diffstat (limited to 'lib/ipx_gr.c')
-rw-r--r-- | lib/ipx_gr.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/ipx_gr.c b/lib/ipx_gr.c index 96fac80..7cb4c5e 100644 --- a/lib/ipx_gr.c +++ b/lib/ipx_gr.c @@ -62,7 +62,8 @@ int IPX_rprint(int options) printf(_("Kernel IPX routing table\n")); /* xxx */ printf(_("Destination Router Net Router Node\n")); - fgets(buff, 1023, fp); + if (fgets(buff, 1023, fp)) + /* eat line */; while (fgets(buff, 1023, fp)) { num = sscanf(buff, "%s %s %s", net, router_net, router_node); |