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
8c6d752f
Commit
8c6d752f
authored
Jan 25, 1998
by
Phil Blundell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
More fixes
parent
7f083685
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
23 additions
and
12 deletions
+23
-12
ChangeLog
ChangeLog
+7
-0
config.in
config.in
+7
-8
ifconfig.c
ifconfig.c
+3
-0
lib/Makefile
lib/Makefile
+3
-3
lib/net-string.c
lib/net-string.c
+3
-1
No files found.
ChangeLog
View file @
8c6d752f
Sun Jan 25 13:00:00 1998 Philip Blundell <Philip.Blundell@pobox.com>
* lib/net-string.c (str_in_buff): Avoid compiler warning.
* lib/inet6_gr.c, lib/inet_gr.c: Don't display inactive routes
(ie those without RTF_UP).
* lib/Makefile: Add support for Rose, FDDI and Ash.
* rarp.c: Add support for /etc/ethers. Patch from haardt@gmd.de
(Michael Haardt).
...
...
@@ -16,6 +20,9 @@ Sun Jan 25 13:00:00 1998 Philip Blundell <Philip.Blundell@pobox.com>
interfaces to display; use SIOCGIFCONF with a null buffer
instead.
* ifconfig.c: Don't assume ifr_qlen is defined if SIOCSIFTXQLEN
is.
Tue Sep 23 20:58:27 1997 Philip Blundell <Philip.Blundell@pobox.com>
* ifconfig.c (if_getstats): use _PATH_PROCNET_DEV rather than
...
...
config.in
View file @
8c6d752f
...
...
@@ -58,8 +58,8 @@ bool 'INET (TCP/IP) protocol family' HAVE_AFINET y
bool 'INET6 (IPv6) protocol family' HAVE_AFINET6 n
bool 'Novell IPX/SPX protocol family' HAVE_AFIPX y
bool 'Appletalk DDP protocol family' HAVE_AFATALK y
bool 'AX25 (
Packet R
adio) protocol family' HAVE_AFAX25 y
bool 'NET/ROM (
Packet R
adio) protocol family' HAVE_AFNETROM y
bool 'AX25 (
packet r
adio) protocol family' HAVE_AFAX25 y
bool 'NET/ROM (
packet r
adio) protocol family' HAVE_AFNETROM y
bool 'Rose (packet radio) protocol family' HAVE_AFROSE n
*
*
...
...
@@ -71,11 +71,10 @@ bool 'SLIP (serial line) support' HAVE_HWSLIP y
bool 'PPP (serial line) support' HAVE_HWPPP y
bool 'IPIP Tunnel support' HAVE_HWTUNNEL y
bool 'Token ring (generic) support' HAVE_HWTR y
bool 'AX25 (Packet Radio) support' HAVE_HWAX25 y
bool 'NET/ROM (Packet Radio) support' HAVE_HWNETROM y
bool 'DLCI/FRAD (Frame Relay) support' HAVE_HWFR y
bool 'AX25 (packet radio) support' HAVE_HWAX25 y
bool 'Rose (packet radio) support' HAVE_HWROSE n
bool 'NET/ROM (packet radio) support' HAVE_HWNETROM y
bool 'DLCI/FRAD (frame relay) support' HAVE_HWFR y
bool 'SIT (IPv6-in-IPv4) support' HAVE_HWSIT n
bool 'FDDI (generic) support' HAVE_HWFDDI n
bool 'Rose (packet radio) support' HAVE_HWROSE n
bool 'Ash support' HAVE_HWASH y
bool 'Ash hardware support' HAVE_HWASH n
ifconfig.c
View file @
8c6d752f
...
...
@@ -78,6 +78,9 @@ struct in6_ifreq {
#ifndef SIOCSIFTXQLEN
/* 2.1.77+ option */
#define SIOCGIFTXQLEN 0x8942
/* Get the tx queue length */
#define SIOCSIFTXQLEN 0x8943
/* Set the tx queue length */
#endif
#ifndef ifr_qlen
#define ifr_qlen ifr_ifru.ifru_ivalue
/* Queue length */
#endif
...
...
lib/Makefile
View file @
8c6d752f
...
...
@@ -29,9 +29,9 @@
#
HWOBJS
=
hw.o loopback.o slip.o ether.o ax25.o ppp.o arcnet.o tr.o tunnel.o frame.o sit.o
AFOBJS
=
unix.o inet.o inet6.o ax25.o ipx.o ddp.o ipx.o netrom.o af.o
AFGROBJS
=
inet_gr.o inet6_gr.o ipx_gr.o ddp_gr.o netrom_gr.o ax25_gr.o getroute.o
HWOBJS
=
hw.o loopback.o slip.o ether.o ax25.o ppp.o arcnet.o tr.o tunnel.o frame.o sit.o
rose.o ash.o fddi.o
AFOBJS
=
unix.o inet.o inet6.o ax25.o ipx.o ddp.o ipx.o netrom.o af.o
rose.o
AFGROBJS
=
inet_gr.o inet6_gr.o ipx_gr.o ddp_gr.o netrom_gr.o ax25_gr.o
rose_gr.o
getroute.o
AFSROBJS
=
inet_sr.o inet6_sr.o netrom_sr.o ipx_sr.o setroute.o
ACTOBJS
=
slip_ac.o ppp_ac.o activate.o
VARIA
=
getargs.o masq_info.o
...
...
lib/net-string.c
View file @
8c6d752f
...
...
@@ -75,7 +75,9 @@ char *str_in_buff (char *buff, int len, char *string)
buff
[
len
]
=
'\0'
;
}
else
strcpy
(
buff
,
string
);
{
strcpy
(
buff
,
string
);
}
else
strcpy
(
buff
,
""
);
...
...
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