Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
FFS Gluon Packages
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor 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
firmware
FFS Gluon Packages
Commits
cd7c6371
Commit
cd7c6371
authored
7 years ago
by
Philippe
Browse files
Options
Downloads
Patches
Plain Diff
using new fastd-ports 102xx for MTU 1340.
parent
b936695c
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ffs-set-segment/files/usr/sbin/ffs-set-segment
+2
-2
2 additions, 2 deletions
ffs-set-segment/files/usr/sbin/ffs-set-segment
with
2 additions
and
2 deletions
ffs-set-segment/files/usr/sbin/ffs-set-segment
+
2
−
2
View file @
cd7c6371
...
...
@@ -22,8 +22,8 @@ if [ -z "$SEGINFO" ]; then
fi
SEGINFO
=
${
SEGINFO
/Address 1
:
2001
:2:0:711::/
}
SEGMENT
=
$(
echo
$SEGINFO
|cut
-d
' '
-f1
|
cut
-d
':'
-f2
)
let
PORT
=
SEGMENT+10
0
00
if
[
$PORT
-le
10
0
00
]
;
then
let
PORT
=
SEGMENT+10
2
00
if
[
$PORT
-le
10
2
00
]
;
then
logger
-t
$ME
"Invalid Segment"
exit
1
fi
...
...
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