On Sat, Nov 25, 2000 at 04:31:31PM -0500, Igor Khavkine wrote:
> >
> > sprintf(node_name, "%s/%d", _SERVERS_SOCKET, PF_INET);
>
> Well, that's another segfault right there, you're trying to write
> to a wild pointer. Try:
> asprintf(&node_name, _SERVERS_SOCKET "%d", PF_INET);
> Actually you d
On Sat, Nov 25, 2000 at 01:50:37AM -0600, Daniel E Baumann wrote:
> Here is the code I wrote for setting the gateway in bundle.c, I welcome any
> comments. Some of this I borrowed from fsysopts.c.
>
I hope this is prototype code because there is a couple of obvious
blunders.
> int
> bundle_Set
Here is the code I wrote for setting the gateway in bundle.c, I welcome any
comments. Some of this I borrowed from fsysopts.c.
int
bundle_SetRoute(struct bundle *bundle, int cmd, struct in_addr dst,
struct in_addr gateway, struct in_addr mask, int bang,
int ssh)