Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
Igate
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CATS
Igate
Commits
6d66e725
Commit
6d66e725
authored
1 year ago
by
Stephen D
Browse files
Options
Downloads
Patches
Plain Diff
small routing to the internet fix
parent
389a7e73
No related branches found
No related tags found
No related merge requests found
Pipeline
#3844
passed
1 year ago
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/util.rs
+2
-1
2 additions, 1 deletion
src/util.rs
with
2 additions
and
1 deletion
src/util.rs
+
2
−
1
View file @
6d66e725
...
...
@@ -153,6 +153,7 @@ pub fn append_internet_to_packet_route(
if
let
Some
((
rc
,
rs
))
=
first_future
{
if
rc
==
callsign
&&
rs
==
ssid
{
// we can just do the normal thing
// since we're replacing the existing future node, this should never fail, unless we run out of byte space
route
.append_node
(
callsign
,
ssid
,
Some
(
rssi
))
.ok
()
?
;
}
else
{
// rip off all the futures and add ourselves
...
...
@@ -174,7 +175,7 @@ pub fn append_internet_to_packet_route(
route
.push_callsign
(
RouteIdentity
::
new
(
callsign
,
ssid
,
Some
(
rssi
),
false
));
}
}
else
{
route
.
append_node
(
callsign
,
ssid
,
Some
(
rssi
)
)
.ok
(
)
?
;
route
.
push_callsign
(
RouteIdentity
::
new
(
callsign
,
ssid
,
Some
(
rssi
)
,
false
)
)
?
;
}
route
.push_internet
()
?
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment