Subject: Re: route(8) doesn't always exit(1) on an error
To: Tad Hunt <tad@entrisphere.com>
From: der Mouse <mouse@Rodents.Montreal.QC.CA>
List: tech-net
Date: 11/15/2001 18:50:11
> I want to use the route(8) (or an equivalent command) invoked from a
> program that adds and removes static routes.

Why use a program, instead of manipulating the routing table yourself
directly with a routing socket?  It's arguably easier, almost certainly
faster, and completely avoids the problem you're having.

/~\ The ASCII				der Mouse
\ / Ribbon Campaign
 X  Against HTML	       mouse@rodents.montreal.qc.ca
/ \ Email!	     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B