Skip to content

Commit

Permalink
Fix bug
Browse files Browse the repository at this point in the history
Il manquait l'inclusion du fichier global.cfg
  • Loading branch information
PhilippeLeroux committed Mar 16, 2018
1 parent 510da3b commit 560f2d8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dns/get_free_ip_node.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
# vim: ts=4:sw=4

. ~/plescripts/plelib.sh
. ~/plescripts/global.cfg
EXEC_CMD_ACTION=EXEC

# Toutes les IPs en dessous sont réservées.
Expand Down Expand Up @@ -56,7 +57,7 @@ while read ip_node rem
do
[[ x"$ip_node" == x || $ip_node -lt $min_ip_node ]] && continue

debug "IP used is $ip_node"
debug "Test IP : $ip_node"
if [ $prev_ip_node -eq 0 ]
then # On vient de lire la première IP, vérifie si min_ip_node est utilisée.
debug "Case 1 : First IP found is ip_node($ip_node)"
Expand Down

0 comments on commit 560f2d8

Please sign in to comment.