1 --- ipcad-3.7.3.orig/cfg.y 2007-04-22 10:08:45.000000000 +0200
2 +++ ipcad-3.7.3/cfg.y 2014-03-23 18:03:07.000000000 +0100
11 @@ -214,49 +213,6 @@ block:
12 | CAPTURE_PORTS DENY {
13 conf->capture_ports = 0;
16 - if(add_server(rsh_server, "RSH Server", &($3), 514))
17 - return yyerror("Failed to install RSH server");
18 - fprintf(stderr, "Configured RSH Server listening at %s\n",
22 - fprintf(stderr, "Warning: Option at line %d has no effect\n",
25 - | RSH TIMEOUT EQ TOK_STRING {
30 - to_ms = -1; /* INFTIM */
32 - to_ms = to_ms * 1000;
33 - rsh_rw_timeout = to_ms;
35 - | RSH TOK_STRING privlevel {
36 - cfg_add_rsh_host("", $2, $3);
39 - | RSH AT TOK_STRING privlevel {
40 - cfg_add_rsh_host("", $3, $4);
43 - | RSH TOK_STRING AT TOK_STRING privlevel {
44 - cfg_add_rsh_host($2, $4, $5);
47 - | RSH TTL EQ TOK_STRING {
48 - conf->rsh_ttl = atoi($4);
51 - | TTL EQ TOK_STRING {
52 - fprintf(stderr, "WARNING: \"ttl = %s;\" at line %d: "
53 - "Obsolete syntax. Please use \"rsh ttl = %s;\"\n",
54 - $3, ipcacfglineno, $3);
55 - conf->rsh_ttl = atoi($3);
59 | CHROOT EQ TOK_STRING {