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
70e4ca8d
Commit
70e4ca8d
authored
Feb 03, 2021
by
janis.streib
🦉
Browse files
UPD: exclude last address form blocklist
parent
c7c804a7
Pipeline
#131699
passed with stages
in 6 minutes and 4 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
frontend/src/views/dnsvs/BCDRecords.vue
View file @
70e4ca8d
...
...
@@ -762,7 +762,7 @@ export default {
}
let
last
=
ipaddress
.
ip_to_int
(
subnet
.
cidr
.
split
(
'
/
'
)[
0
])
const
min
=
last
const
hard_maximum
=
ipaddress
.
ip_to_int
(
ipaddress
.
ip_net_get_last
(
subnet
.
cidr
))
const
hard_maximum
=
ipaddress
.
ip_to_int
(
ipaddress
.
ip_net_get_last
(
subnet
.
cidr
))
-
1
let
cur
=
null
while
(
working_arecs
.
length
>
0
)
{
const
r
=
working_arecs
.
shift
()
...
...
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