summaryrefslogtreecommitdiffstats
path: root/sbin/route/route.8
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2001-06-07 13:50:24 +0000
committerru <ru@FreeBSD.org>2001-06-07 13:50:24 +0000
commite8be8c503badfdbcc17ce3f321e410e9069188ab (patch)
tree094413f428de4e93c52ef7e9cd2536f8689e5727 /sbin/route/route.8
parent056e449b05cd8204b5c17c524f98d1d085355385 (diff)
downloadFreeBSD-src-e8be8c503badfdbcc17ce3f321e410e9069188ab.zip
FreeBSD-src-e8be8c503badfdbcc17ce3f321e410e9069188ab.tar.gz
- Exit 1 if "add", "change", or "delete" operation fails.
PR: bin/12489 - Use inet_ntoa(3) where it should have been used. This part of code simply wasn't converted to the "new" style after the routename() function was converted from the protocol-generic version to protocol-specific version in CSRG revision 5.6. MFC after: 1 week
Diffstat (limited to 'sbin/route/route.8')
-rw-r--r--sbin/route/route.84
1 files changed, 4 insertions, 0 deletions
diff --git a/sbin/route/route.8 b/sbin/route/route.8
index 7cc617f..5e67f44 100644
--- a/sbin/route/route.8
+++ b/sbin/route/route.8
@@ -363,6 +363,10 @@ An add operation was attempted, but the system was
low on resources and was unable to allocate memory
to create the new entry.
.El
+.Pp
+The
+.Nm
+utility exits 0 on success or >0 if an error occurred.
.Sh SEE ALSO
.Xr netintro 4 ,
.Xr route 4 ,
OpenPOWER on IntegriCloud