/[svn]/ircd-hybrid-7.2/src/ircd_parser.y
ViewVC logotype

Diff of /ircd-hybrid-7.2/src/ircd_parser.y

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

revision 439 by michael, Tue Dec 27 19:28:58 2005 UTC revision 440 by michael, Sat Feb 11 23:11:38 2006 UTC
# Line 1699  listen_entry: LISTEN Line 1699  listen_entry: LISTEN
1699    
1700  listen_flags: IRCD_FLAGS  listen_flags: IRCD_FLAGS
1701  {  {
1702      listener_flags = 0;
1703  } '='  listen_flags_items ';';  } '='  listen_flags_items ';';
1704    
1705  listen_flags_items: listen_flags_items ',' listen_flags_item | listen_flags_item;  listen_flags_items: listen_flags_items ',' listen_flags_item | listen_flags_item;
# Line 1713  listen_flags_item: T_SSL Line 1714  listen_flags_item: T_SSL
1714  };  };
1715    
1716  listen_items:   listen_items listen_item | listen_item;  listen_items:   listen_items listen_item | listen_item;
1717  listen_item:    listen_port | listen_flags | listen_address | listen_host | error ';' ;  listen_item:    listen_port | listen_flags | listen_address | listen_host | error ';';
1718    
1719  listen_port: PORT '=' port_items ';' ;  listen_port: PORT '=' port_items { listener_flags = 0; } ';';
1720    
1721  port_items: port_items ',' port_item | port_item;  port_items: port_items ',' port_item | port_item;
1722    
# Line 1732  port_item: NUMBER Line 1733  port_item: NUMBER
1733          break;          break;
1734        }        }
1735      add_listener($1, listener_address, listener_flags);      add_listener($1, listener_address, listener_flags);
     listener_flags = 0;  
1736    }    }
1737  } | NUMBER TWODOTS NUMBER  } | NUMBER TWODOTS NUMBER
1738  {  {
# Line 1751  port_item: NUMBER Line 1751  port_item: NUMBER
1751    
1752      for (i = $1; i <= $3; ++i)      for (i = $1; i <= $3; ++i)
1753        add_listener(i, listener_address, listener_flags);        add_listener(i, listener_address, listener_flags);
   
     listener_flags = 0;  
1754    }    }
1755  };  };
1756    

Legend:
Removed from v.439  
changed lines
  Added in v.440

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