ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/trunk/src/conf_parser.y
(Generate patch)

Comparing ircd-hybrid-8/src/conf_parser.y (file contents):
Revision 1515 by michael, Sun Aug 5 09:35:42 2012 UTC vs.
Revision 1516 by michael, Thu Aug 30 15:08:36 2012 UTC

# Line 290 | Line 290 | free_collect_item(struct CollectItem *it
290   %token  T_CCONN
291   %token  T_CCONN_FULL
292   %token  T_SSL_CIPHER_LIST
293 %token  T_CLIENT_FLOOD
293   %token  T_DEAF
294   %token  T_DEBUG
295   %token  T_DLINE
# Line 304 | Line 303 | free_collect_item(struct CollectItem *it
303   %token  T_MAX_CLIENTS
304   %token  T_NCHANGE
305   %token  T_OPERWALL
306 + %token  T_RECVQ
307   %token  T_REJ
308   %token  T_SERVER
309   %token  T_SERVNOTICE
# Line 1350 | Line 1350 | class_item:     class_name |
1350                  class_max_global |
1351                  class_max_local |
1352                  class_max_ident |
1353 <                class_sendq |
1353 >                class_sendq | class_recvq |
1354                  error ';' ;
1355  
1356   class_name: NAME '=' QSTRING ';'
# Line 1416 | Line 1416 | class_sendq: SENDQ '=' sizespec ';'
1416      yy_class->max_sendq = $3;
1417   };
1418  
1419 + class_recvq: T_RECVQ '=' sizespec ';'
1420 + {
1421 +  if (conf_parser_ctx.pass == 1)
1422 +    if ($3 >= CLIENT_FLOOD_MIN && $3 <= CLIENT_FLOOD_MAX)
1423 +      yy_class->max_recvq = $3;
1424 + };
1425 +
1426   class_cidr_bitlen_ipv4: CIDR_BITLEN_IPV4 '=' NUMBER ';'
1427   {
1428    if (conf_parser_ctx.pass == 1)
# Line 2534 | Line 2541 | general_item:       general_hide_spoof_i
2541                      general_opers_bypass_callerid | general_default_floodcount |
2542                      general_min_nonwildcard | general_min_nonwildcard_simple |
2543                      general_disable_remote_commands |
2537                    general_client_flood |
2544                      general_throttle_time | general_havent_read_conf |
2545                      general_ping_cookie |
2546                      general_disable_auth |
# Line 2972 | Line 2978 | general_default_floodcount: DEFAULT_FLOO
2978    ConfigFileEntry.default_floodcount = $3;
2979   };
2980  
2975 general_client_flood: T_CLIENT_FLOOD '=' sizespec ';'
2976 {
2977  ConfigFileEntry.client_flood = $3;
2978 };
2979
2981  
2982   /***************************************************************************
2983   *  section channel

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)