search for: opt_af

Displaying 4 results from an estimated 4 matches for "opt_af".

2007 Jan 06
1
Re: [nut-commits] svn commit r710 - in trunk: . clients server
...====================================================== > --- trunk/clients/upsc.c (original) > +++ trunk/clients/upsc.c Sat Jan 6 19:39:08 2007 > @@ -25,10 +25,6 @@ > > #include "upsclient.h" > > -/* From IPv6 patch (doesn't seem to be used) > -static int opt_af = AF_UNSPEC; > - */ > - > static void help(const char *prog) > { > printf("Network UPS Tools upsc %s\n\n", UPS_VERSION); > > Modified: trunk/clients/upsclient.c > ============================================================================== > --- trunk/cli...
2007 Jan 06
3
Re: [nut-commits] svn commit r708 - in trunk: . clients server
...====================================================== > --- trunk/clients/upsc.c (original) > +++ trunk/clients/upsc.c Fri Jan 5 21:06:59 2007 > @@ -25,6 +25,10 @@ > > #include "upsclient.h" > > +/* From IPv6 patch (doesn't seem to be used) > +static int opt_af = AF_UNSPEC; > + */ > + > static void help(const char *prog) > { > printf("Network UPS Tools upsc %s\n\n", UPS_VERSION); > > Modified: trunk/clients/upsclient.c > ============================================================================== > --- trunk/cli...
2007 Jan 23
2
Re: [nut-commits] svn commit r731
...*firstclient = NULL; > > /* default is to listen on all local interfaces */ > -#ifndef HAVE_IPV6 > -static struct in_addr listenaddr; > -#else > -static char *listenaddr = "0.0.0.0"; > - > -/* AF_ */ > +static stype *firstaddr = NULL; > > static int opt_af = AF_UNSPEC; > -#endif > > /* signal handlers */ > static struct sigaction sa; > @@ -153,99 +148,172 @@ > ups_data_ok(ups); > } > > -/* create a listening socket for tcp connections */ > -static void setuptcp(void) > +/* add another listening address */ &...
2012 Mar 08
18
some fixes, improvements, and new features (EPO and DYING) for NUT
Here are a series of my recent changes to NUT. The first few in the set are primarily little fixes and improvements. In among those are a few for .gitignore files which of course you can ignore for SVN, and there's one for a commit to a generated file which of course should not be tracked in any VCS. Then there are a couple or three to do with generating the header files used by