Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
scc-net
netvs
netvs-core
Commits
c7c804a7
Commit
c7c804a7
authored
Feb 01, 2021
by
Janis Streib
🦉
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ADD: more block metadata
parent
53ae99eb
Pipeline
#131411
passed with stages
in 6 minutes and 25 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
frontend/src/views/dnsvs/BCDRecords.vue
frontend/src/views/dnsvs/BCDRecords.vue
+6
-2
No files found.
frontend/src/views/dnsvs/BCDRecords.vue
View file @
c7c804a7
...
...
@@ -773,6 +773,7 @@ export default {
cur
=
cur_pre
if
(
cur
-
last
>
1
)
{
const
blk
=
{
orphan
:
false
,
lower
:
ipaddress
.
int_to_ip
(
last
),
upper
:
ipaddress
.
int_to_ip
(
cur
),
subnet
:
subnet
...
...
@@ -823,13 +824,16 @@ export default {
last
=
cur
}
if
(
cur
!==
hard_maximum
)
{
if
(
cur
===
null
)
{
const
orphan
=
cur
===
null
if
(
orphan
)
{
cur
=
min
}
// The last fucking block
const
blk
=
{
orphan
:
orphan
,
lower
:
ipaddress
.
int_to_ip
(
cur
),
upper
:
ipaddress
.
int_to_ip
(
hard_maximum
)
upper
:
ipaddress
.
int_to_ip
(
hard_maximum
),
subnet
:
subnet
}
const
containing_blocks
=
[]
let
last_chg_ip
=
cur
+
1
...
...
Write
Preview
Markdown
is supported
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