/[svn]/hopm/trunk/src/scan.c
ViewVC logotype

Diff of /hopm/trunk/src/scan.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 5120 by michael, Thu Dec 25 15:04:31 2014 UTC revision 5121 by michael, Thu Dec 25 16:10:25 2014 UTC
# Line 227  scan_init(void) Line 227  scan_init(void)
227      scs->masks = list_create();      scs->masks = list_create();
228    
229      /* Setup configuration */      /* Setup configuration */
230      opm_config(scs->scanner, OPM_CONFIG_FD_LIMIT, &(sc->fd));      opm_config(scs->scanner, OPM_CONFIG_FD_LIMIT, &sc->fd);
231      opm_config(scs->scanner, OPM_CONFIG_SCAN_IP, sc->target_ip);      opm_config(scs->scanner, OPM_CONFIG_SCAN_IP, sc->target_ip);
232      opm_config(scs->scanner, OPM_CONFIG_SCAN_PORT, &(sc->target_port));      opm_config(scs->scanner, OPM_CONFIG_SCAN_PORT, &sc->target_port);
233      opm_config(scs->scanner, OPM_CONFIG_TIMEOUT, &(sc->timeout));      opm_config(scs->scanner, OPM_CONFIG_TIMEOUT, &sc->timeout);
234      opm_config(scs->scanner, OPM_CONFIG_MAX_READ, &(sc->max_read));      opm_config(scs->scanner, OPM_CONFIG_MAX_READ, &sc->max_read);
235      opm_config(scs->scanner, OPM_CONFIG_BIND_IP, sc->vhost);      opm_config(scs->scanner, OPM_CONFIG_BIND_IP, sc->vhost);
236    
237      /* add target strings */      /* add target strings */

Legend:
Removed from v.5120  
changed lines
  Added in v.5121

svnadmin@ircd-hybrid.org
ViewVC Help
Powered by ViewVC 1.1.28