Platon Technologies
neprihlásený Prihlásiť Registrácia
SlovakEnglish
open source software development oslavujeme 10 rokov vývoja otvoreného softvéru! Pondelok, 19. október 2026

Rozdiely pre scripts/shell/firewall/firewall.d/subnets/simplify-subnets.sh medzi verziami 1.4 a 1.5

verzia 1.4, 2018/05/08 00:00:30 verzia 1.5, 2018/05/08 00:20:40
Riadok 12 
Riadok 12 
 # 2018-05-07 - created  # 2018-05-07 - created
 #  #
   
 # $Platon: scripts/shell/firewall/firewall.d/subnets/simplify-subnets.sh,v 1.3 2018/05/07 23:52:34 nepto Exp $  # $Platon: scripts/shell/firewall/firewall.d/subnets/simplify-subnets.sh,v 1.4 2018/05/08 00:00:30 nepto Exp $
   
 # Minimum amount of C-classes to be merged into one B-class  # Minimum amount of C-classes to be merged into one B-class
 MIN_C_CLASS_MERGE=120;  MIN_C_CLASS_MERGE=120;
Riadok 53  while IFS='' read -r line; do
Riadok 53  while IFS='' read -r line; do
   
         if [ "$subnet_B" = "$prev_B" ]; then          if [ "$subnet_B" = "$prev_B" ]; then
                 to_write="$to_write"$'\n';                  to_write="$to_write"$'\n';
                 to_write="$to_write$subnet_C/24";                  to_write="$to_write$subnet_C/$mask";
                 prev_C="$subnet_C";                  prev_C="$subnet_C";
                 cnt_CinB=$(( cnt_CinB + 1 ));                  cnt_CinB=$(( cnt_CinB + 1 ));
                 continue;                  continue;

Legend:
Odstranené z verzie1.4  
zmenené riadky
  Pridané vo verzii1.5

Platon Group <platon@platon.sk> http://platon.sk/
Copyright © 2002-2006 Platon Group
Stránka používa redakčný systém Metafox
Na začiatok