オープンソース・ソフトウェアの開発とダウンロード

Subversion リポジトリの参照

Diff of /trunk/1.8.x/ccs-patch/security/ccsecurity/network.c

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

revision 1191 by kumaneko, Fri May 9 01:46:04 2008 UTC revision 1260 by kumaneko, Thu Jun 5 07:18:45 2008 UTC
# Line 5  Line 5 
5   *   *
6   * Copyright (C) 2005-2008  NTT DATA CORPORATION   * Copyright (C) 2005-2008  NTT DATA CORPORATION
7   *   *
8   * Version: 1.6.1   2008/05/10   * Version: 1.6.1   2008/06/05
9   *   *
10   * This file is applicable to both 2.4.30 and 2.6.11 and later.   * This file is applicable to both 2.4.30 and 2.6.11 and later.
11   * See README.ccs for ChangeLog.   * See README.ccs for ChangeLog.
# Line 631  static int check_network_entry(const boo Line 631  static int check_network_entry(const boo
631                         ccs_get_msg(is_enforce), keyword, buf, port,                         ccs_get_msg(is_enforce), keyword, buf, port,
632                         ccs_get_last_name(domain));                         ccs_get_last_name(domain));
633          if (is_enforce)          if (is_enforce)
634                  return ccs_check_supervisor("%s\n" KEYWORD_ALLOW_NETWORK "%s "                  return ccs_check_supervisor(NULL, KEYWORD_ALLOW_NETWORK "%s "
635                                              "%s %u\n", domain->domainname->name,                                              "%s %u\n", keyword, buf, port);
                                             keyword, buf, port);  
636          if (mode == 1 && ccs_check_domain_quota(domain))          if (mode == 1 && ccs_check_domain_quota(domain))
637                  update_network_entry(operation, is_ipv6 ?                  update_network_entry(operation, is_ipv6 ?
638                                       IP_RECORD_TYPE_IPv6 : IP_RECORD_TYPE_IPv4,                                       IP_RECORD_TYPE_IPv6 : IP_RECORD_TYPE_IPv4,

Legend:
Removed from v.1191  
changed lines
  Added in v.1260

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26