Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
iproute2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
iproute2
Commits
d259f030
Commit
d259f030
authored
Aug 04, 2013
by
Stephen Hemminger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix spelling errors
Minor errors found by codespell
parent
ac3ff720
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
ip/ipnetns.c
ip/ipnetns.c
+3
-3
ip/ipntable.c
ip/ipntable.c
+1
-1
No files found.
ip/ipnetns.c
View file @
d259f030
...
...
@@ -167,7 +167,7 @@ static int netns_exec(int argc, char **argv)
fprintf
(
stderr
,
"unshare failed: %s
\n
"
,
strerror
(
errno
));
return
-
1
;
}
/* Don't let any mounts prop
o
gate back to the parent */
/* Don't let any mounts prop
a
gate back to the parent */
if
(
mount
(
""
,
"/"
,
"none"
,
MS_SLAVE
|
MS_REC
,
NULL
))
{
fprintf
(
stderr
,
"
\"
mount --make-rslave /
\"
failed: %s
\n
"
,
strerror
(
errno
));
...
...
@@ -205,7 +205,7 @@ static int netns_exec(int argc, char **argv)
exit
(
1
);
}
/* If child failed, prop
o
gate status */
/* If child failed, prop
a
gate status */
if
(
WIFEXITED
(
status
))
exit
(
WEXITSTATUS
(
status
));
...
...
@@ -405,7 +405,7 @@ static int netns_add(int argc, char **argv)
/* Create the base netns directory if it doesn't exist */
mkdir
(
NETNS_RUN_DIR
,
S_IRWXU
|
S_IRGRP
|
S_IXGRP
|
S_IROTH
|
S_IXOTH
);
/* Make it possible for network namespace mounts to prop
o
gate between
/* Make it possible for network namespace mounts to prop
a
gate between
* mount namespaces. This makes it likely that a unmounting a network
* namespace file in one namespace will unmount the network namespace
* file in all namespaces allowing the network namespace to be freed
...
...
ip/ipntable.c
View file @
d259f030
...
...
@@ -305,7 +305,7 @@ static int ipntable_modify(int cmd, int flags, int argc, char **argv)
if
(
!
namep
)
missarg
(
"NAME"
);
if
(
!
threshsp
&&
!
gc_intp
&&
!
parms_change
)
{
fprintf
(
stderr
,
"Not enough information: changable attributes required.
\n
"
);
fprintf
(
stderr
,
"Not enough information: chang
e
able attributes required.
\n
"
);
exit
(
-
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