Skip to content
GitLab
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
74497d84
Commit
74497d84
authored
May 03, 2021
by
janis.streib
🦉
Browse files
FIX: too miuch blocks on /32
parent
9be90222
Pipeline
#149402
passed with stages
in 10 minutes and 4 seconds
Changes
1
Pipelines
12
Hide whitespace changes
Inline
Side-by-side
frontend/src/views/dnsvs/BCDRecords.vue
View file @
74497d84
...
...
@@ -876,18 +876,20 @@ export default {
}
}
}
if
(
last_was_reserved
)
{
containing_blocks
.
push
({
first
:
ipaddress
.
int_to_ip
(
last_chg_ip
),
type
:
'
reserved
'
,
space
:
hard_maximum
+
1
-
(
last_chg_ip
)
})
}
else
{
containing_blocks
.
push
({
first
:
ipaddress
.
int_to_ip
(
last_chg_ip
),
type
:
'
free
'
,
space
:
hard_maximum
+
1
-
(
last_chg_ip
)
})
if
(
hard_maximum
-
cur
>
1
)
{
if
(
last_was_reserved
)
{
containing_blocks
.
push
({
first
:
ipaddress
.
int_to_ip
(
last_chg_ip
),
type
:
'
reserved
'
,
space
:
hard_maximum
+
1
-
(
last_chg_ip
)
})
}
else
{
containing_blocks
.
push
({
first
:
ipaddress
.
int_to_ip
(
last_chg_ip
),
type
:
'
free
'
,
space
:
hard_maximum
+
1
-
(
last_chg_ip
)
})
}
}
blk
.
containing_blocks
=
containing_blocks
this
.
asc_v4_blocklist
.
push
(
blk
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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