mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-10-15 04:59:27 +08:00
Update to FreeBSD head 2018-11-15
Git mirror commit a18b0830c4be01b39489a891b63d6023ada6358a. Update #3472.
This commit is contained in:
@@ -1109,10 +1109,13 @@ newroute(int argc, char **argv)
|
||||
}
|
||||
printf("\n");
|
||||
}
|
||||
}
|
||||
|
||||
fibnum = 0;
|
||||
TAILQ_FOREACH(fl, &fibl_head, fl_next) {
|
||||
if (fl->fl_error != 0) {
|
||||
fibnum = 0;
|
||||
TAILQ_FOREACH(fl, &fibl_head, fl_next) {
|
||||
if (fl->fl_error != 0) {
|
||||
error = 1;
|
||||
if (!qflag) {
|
||||
printf("%s %s %s", cmd, (nrflags & F_ISHOST)
|
||||
? "host" : "net", dest);
|
||||
if (*gateway)
|
||||
@@ -1146,7 +1149,6 @@ newroute(int argc, char **argv)
|
||||
break;
|
||||
}
|
||||
printf(": %s\n", errmsg);
|
||||
error = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user