Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
net-tools
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
net-tools
Commits
9628c3a4
Commit
9628c3a4
authored
Dec 10, 2002
by
Bernd Eckenfels
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
change confusing "*" into "<from_interface>"
parent
cb9aeb94
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
arp.c
arp.c
+4
-5
No files found.
arp.c
View file @
9628c3a4
...
...
@@ -8,7 +8,7 @@
* NET-3 Networking Distribution for the LINUX operating
* system.
*
* Version: $Id: arp.c,v 1.2
1 2001/05/06 02:14:07
ecki Exp $
* Version: $Id: arp.c,v 1.2
2 2002/12/10 01:01:24
ecki Exp $
*
* Maintainer: Bernd 'eckes' Eckenfels, <net-tools@lina.inka.de>
*
...
...
@@ -463,7 +463,7 @@ static void arp_disp_2(char *name, int type, int arp_flags, char *hwa, char *mas
if
(
!
(
arp_flags
&
ATF_COM
))
{
if
(
arp_flags
&
ATF_PUBL
)
printf
(
"%-8.8s%-20.20s"
,
"*"
,
"*"
);
printf
(
"%-8.8s%-20.20s"
,
"*"
,
_
(
"<from_interface>"
)
);
else
printf
(
"%-8.8s%-20.20s"
,
""
,
_
(
"(incomplete)"
));
}
else
{
...
...
@@ -486,7 +486,7 @@ static void arp_disp(char *name, char *ip, int type, int arp_flags, char *hwa, c
if
(
!
(
arp_flags
&
ATF_COM
))
{
if
(
arp_flags
&
ATF_PUBL
)
printf
(
"
*
"
);
printf
(
"
<from_interface>
"
);
else
printf
(
_
(
"<incomplete> "
));
}
else
{
...
...
@@ -613,9 +613,8 @@ static void usage(void)
{
fprintf
(
stderr
,
_
(
"Usage:
\n
arp [-vn] [<HW>] [-i <if>] [-a] [<hostname>] <-Display ARP cache
\n
"
));
fprintf
(
stderr
,
_
(
" arp [-v] [-i <if>] -d <hostname> [pub][nopub] <-Delete ARP entry
\n
"
));
fprintf
(
stderr
,
_
(
" arp [-vnD] [<HW>] [-i <if>] -f [<filename>]
<-Add entry from file
\n
"
));
fprintf
(
stderr
,
_
(
" arp [-vnD] [<HW>] [-i <if>] -f [<filename>] <-Add entry from file
\n
"
));
fprintf
(
stderr
,
_
(
" arp [-v] [<HW>] [-i <if>] -s <hostname> <hwaddr> [temp][nopub] <-Add entry
\n
"
));
fprintf
(
stderr
,
_
(
" arp [-v] [<HW>] [-i <if>] -s <hostname> <hwaddr> [netmask <nm>] pub <-''-
\n
"
));
fprintf
(
stderr
,
_
(
" arp [-v] [<HW>] [-i <if>] -Ds <hostname> <if> [netmask <nm>] pub <-''-
\n\n
"
));
fprintf
(
stderr
,
_
(
" -a display (all) hosts in alternative (BSD) style
\n
"
));
...
...
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