Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
scc-net
netvs
netvs-core
Commits
13274bd6
Commit
13274bd6
authored
Jan 28, 2021
by
janis.streib
🦉
Browse files
FIX: user correct variable for iteration on last block calulation (fixes
#255
)
parent
2e0f4cca
Pipeline
#130210
passed with stages
in 4 minutes and 47 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
frontend/src/views/dnsvs/BCDRecords.vue
View file @
13274bd6
...
...
@@ -796,7 +796,7 @@ export default {
const
containing_blocks
=
[]
let
last_chg_ip
=
cur
+
1
let
last_was_reserved
=
ipaddress
.
int_to_ip
(
last_chg_ip
)
in
this
.
reserved_addrs_by_ip
for
(
var
k
=
1
;
i
<
hard_maximum
-
cur
;
i
++
)
{
for
(
var
k
=
1
;
k
<
hard_maximum
-
cur
;
k
++
)
{
if
(
ipaddress
.
int_to_ip
(
cur
+
k
)
in
this
.
reserved_addrs_by_ip
)
{
if
(
!
last_was_reserved
)
{
containing_blocks
.
push
({
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment