"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/tables.c" between
dnsmasq-2.84.tar.xz and dnsmasq-2.85.tar.xz

About: Dnsmasq is a lightweight caching DNS forwarder and DHCP server.

tables.c  (dnsmasq-2.84.tar.xz):tables.c  (dnsmasq-2.85.tar.xz)
skipping to change at line 100 skipping to change at line 100
return -1; return -1;
} }
bzero(&io, sizeof io); bzero(&io, sizeof io);
io.pfrio_flags = 0; io.pfrio_flags = 0;
io.pfrio_buffer = &table; io.pfrio_buffer = &table;
io.pfrio_esize = sizeof(table); io.pfrio_esize = sizeof(table);
io.pfrio_size = 1; io.pfrio_size = 1;
if (ioctl(dev, DIOCRADDTABLES, &io)) if (ioctl(dev, DIOCRADDTABLES, &io))
{ {
my_syslog(LOG_WARNING, _("IPset: error:%s"), pfr_strerror(errno)); my_syslog(LOG_WARNING, _("IPset: error: %s"), pfr_strerror(errno));
return -1; return -1;
} }
table.pfrt_flags &= ~PFR_TFLAG_PERSIST; table.pfrt_flags &= ~PFR_TFLAG_PERSIST;
if (io.pfrio_nadd) if (io.pfrio_nadd)
my_syslog(LOG_INFO, _("info: table created")); my_syslog(LOG_INFO, _("info: table created"));
bzero(&addr, sizeof(addr)); bzero(&addr, sizeof(addr));
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)