Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
etersoft-admin-essentials
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
etersoft-admin-essentials
Commits
c130e4a6
Commit
c130e4a6
authored
Mar 05, 2026
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
route-update: add vlog for IP-only list detection
Co-Authored-By:
Claude Opus 4.6
<
noreply@anthropic.com
>
parent
1dcd7190
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
route-update.sh
router/route-update.sh
+2
-1
No files found.
router/route-update.sh
View file @
c130e4a6
...
...
@@ -528,6 +528,7 @@ resolve_list_file()
cat_expanded
"
$_f
"
|
grep
-v
'^#'
|
grep
-v
'^$'
|
$_resolve_func
|
\
grep
-v
'^#'
|
grep
-v
'^$'
>>
"
$_resolved_new
.tmp"
else
vlog
"
$_tag$_label
IP-only list, skipping DNS resolve"
if
[
"
$_ipcmd
"
=
"ip -6"
]
;
then
grep
-v
'^#'
"
$_f
"
|
grep
-v
'^$'
|
grep
':'
>>
"
$_resolved_new
.tmp"
||
true
else
...
...
@@ -567,7 +568,7 @@ resolve_list_file()
mv
"
${
_resolved_new
}
.merged"
"
$_resolved_new
"
vlog
"
$_tag$_label
resolve history:
$(
ls
"
$history_dir
"
|
wc
-l
)
snapshots,
$(
wc
-l
<
"
$_resolved_new
"
)
unique IPs"
else
vlog
"
$_tag$_label
IP-only list,
skipping history merge
"
vlog
"
$_tag$_label
IP-only list,
no history merge needed
"
fi
# Detect volatile domains (IPv4 and IPv6)
...
...
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