platform/upstream/net-tools.git
25 years agoPrint 2.1 interface aliases in netstat and ifconfig.
Klaas Freitag [Fri, 23 Oct 1998 06:15:04 +0000 (06:15 +0000)]
Print 2.1 interface aliases in netstat and ifconfig.

25 years agoFix typo (reported by dtaylor@xfiles.nildram.co.uk)
Phil Blundell [Thu, 22 Oct 1998 10:28:11 +0000 (10:28 +0000)]
Fix typo (reported by dtaylor@xfiles.nildram.co.uk)

25 years agoAdd -D_GNU_SOURCE for compatibility with latest glibc 2.1.
Phil Blundell [Sun, 20 Sep 1998 14:23:36 +0000 (14:23 +0000)]
Add -D_GNU_SOURCE for compatibility with latest glibc 2.1.
(Spotted by Andreas Jaeger)

25 years ago1.46 is released.
Phil Blundell [Tue, 1 Sep 1998 13:15:46 +0000 (13:15 +0000)]
1.46 is released.

25 years agoMake i18n default to off (and fix typo in config.in)
Phil Blundell [Sat, 29 Aug 1998 11:47:36 +0000 (11:47 +0000)]
Make i18n default to off (and fix typo in config.in)
Cosmetic changes to ifconfig.  Fix lots of stuff to
compile properly with glibc2.1.
Fix HIPPI and HDLC/LAPB for new i18n code.

25 years agoReplace outdated NLS support with GNU gettext (patch from
Phil Blundell [Mon, 10 Aug 1998 20:48:01 +0000 (20:48 +0000)]
Replace outdated NLS support with GNU gettext (patch from
Arnaldo Carvalho de Melo <acme@conectiva.com.br>).  This
touches virtually every file but the changes are fairly
superficial.

Please check I haven't broken your favourite AF/hardware
type during the conversion.

26 years agoFix uninitialised variable (was causing problems on SPARC apparently)
Phil Blundell [Thu, 11 Jun 1998 13:23:40 +0000 (13:23 +0000)]
Fix uninitialised variable (was causing problems on SPARC apparently)

(From Aron Griffis <agriffis@coat.com>)

26 years agoBe robust, allow to skip leading zero as RH4.2 does.
Pete Zaitcev [Thu, 28 May 1998 18:31:12 +0000 (18:31 +0000)]
Be robust, allow to skip leading zero as RH4.2 does.

26 years agoAdd -f to usage message.
Pete Zaitcev [Thu, 28 May 1998 18:29:41 +0000 (18:29 +0000)]
Add -f to usage message.

26 years agoAdded HDLC/LAPB support (from Szemethy Tivadar <tiv@itc.hu>)
Phil Blundell [Wed, 13 May 1998 16:48:11 +0000 (16:48 +0000)]
Added HDLC/LAPB support (from Szemethy Tivadar <tiv@itc.hu>)

26 years agoComplete conversion to proc_get_fmt.
Klaas Freitag [Tue, 12 May 1998 23:13:21 +0000 (23:13 +0000)]
Complete conversion to proc_get_fmt.

26 years agoFirst try at extension tolerant /proc parser. Only used by route so far.
Klaas Freitag [Tue, 12 May 1998 22:59:07 +0000 (22:59 +0000)]
First try at extension tolerant /proc parser. Only used by route so far.

26 years agoOnly set netmask in rtrequest if there was really a netmask specified.
Klaas Freitag [Tue, 12 May 1998 18:24:27 +0000 (18:24 +0000)]
Only set netmask in rtrequest if there was really a netmask specified.

26 years agodon't try to delete public ARP entries if already succeeded in deleting a private...
Jes Sorensen [Fri, 8 May 1998 16:20:54 +0000 (16:20 +0000)]
don't try to delete public ARP entries if already succeeded in deleting a private one - gives such
silly error messages

26 years agothe last part of the cleanup
Jes Sorensen [Fri, 8 May 1998 14:48:57 +0000 (14:48 +0000)]
the last part of the cleanup

26 years agoremove the references to OLD_SIOC[SD]ARP ... this was really pre-historic
Jes Sorensen [Fri, 8 May 1998 14:44:00 +0000 (14:44 +0000)]
remove the references to OLD_SIOC[SD]ARP ... this was really pre-historic

26 years agoMore buffer overrun fixes.
Klaas Freitag [Thu, 7 May 1998 13:57:39 +0000 (13:57 +0000)]
More buffer overrun fixes.

26 years agoSupport /prefix syntax for IPv4 in ifconfig too.
Klaas Freitag [Thu, 7 May 1998 13:33:27 +0000 (13:33 +0000)]
Support /prefix syntax for IPv4 in ifconfig too.

Add getmask() to aftype structure to generalize.

Fix numerous buffer overruns. net-tools is full of them!
[still many left]

26 years agoBasic HIPPI support - now to find out why arp can't figure out that an
Jes Sorensen [Thu, 7 May 1998 12:32:38 +0000 (12:32 +0000)]
Basic HIPPI support - now to find out why arp can't figure out that an
address on the HIPPI NIC's network should be type HIPPI and not Ether.

26 years agoSupport /prefixlen netmask specification for route -add
Klaas Freitag [Thu, 7 May 1998 02:13:27 +0000 (02:13 +0000)]
Support /prefixlen netmask specification for route -add

Fix buffer overflow in route [there are probably more in the nettools]

Allow device argument everywhere on the command line, but only when
it starts with the keyword.

26 years agocouple of small fixes
Phil Blundell [Thu, 16 Apr 1998 20:08:51 +0000 (20:08 +0000)]
couple of small fixes

26 years agoPrint unknown fields in /proc/net/snmp unformatted instead of ignoring
Klaas Freitag [Thu, 16 Apr 1998 16:45:07 +0000 (16:45 +0000)]
Print unknown fields in /proc/net/snmp unformatted instead of ignoring
them.

26 years agoMove the HAVE_TXQUEUELEN check into the common include file interface.h -
Klaas Freitag [Thu, 16 Apr 1998 10:21:46 +0000 (10:21 +0000)]
Move the HAVE_TXQUEUELEN check into the common include file interface.h -
this makes txqueuelen work again, because the code in interface.c was always
omitted.

26 years agoAdd OutRsts and InErrs fields for TCP.
Klaas Freitag [Wed, 15 Apr 1998 15:29:22 +0000 (15:29 +0000)]
Add OutRsts and InErrs fields for TCP.

26 years agoMake it compile without econet.
Klaas Freitag [Wed, 15 Apr 1998 15:27:50 +0000 (15:27 +0000)]
Make it compile without econet.
Fix a few bad typos.
Fix a few warnings.
Change all #ifdef HAVE_... to #if HAVE_... because the config script
uses #define .. 0 for disabled options instead of #undef.
Make atalk functional again (not tested).

26 years agoPile of net-tools goodies. I plan to make a 1.45 release this
Phil Blundell [Fri, 10 Apr 1998 21:53:32 +0000 (21:53 +0000)]
Pile of net-tools goodies.  I plan to make a 1.45 release this
weekend - please give it a go and make sure it at least compiles
on your system. :-)

26 years agoUpdate for new kernel, plus more changes.
Phil Blundell [Mon, 2 Mar 1998 22:02:22 +0000 (22:02 +0000)]
Update for new kernel, plus more changes.

26 years agoMerge more changes from my private tree, mostly ifconfig tidyups.
Phil Blundell [Fri, 13 Feb 1998 20:41:55 +0000 (20:41 +0000)]
Merge more changes from my private tree, mostly ifconfig tidyups.

26 years agoVarious ifconfig cleanups and new arp.
Phil Blundell [Sun, 8 Feb 1998 19:38:50 +0000 (19:38 +0000)]
Various ifconfig cleanups and new arp.

26 years agoSome small Ash changes.
Phil Blundell [Thu, 5 Feb 1998 21:49:40 +0000 (21:49 +0000)]
Some small Ash changes.

26 years agoAlways display a U flag for routes
Phil Blundell [Sat, 31 Jan 1998 12:24:54 +0000 (12:24 +0000)]
Always display a U flag for routes

26 years agoChange version number and release 980126 snapshot
Phil Blundell [Mon, 26 Jan 1998 21:40:23 +0000 (21:40 +0000)]
Change version number and release 980126 snapshot

26 years agoRemove the comment about address and route deletion not being
Phil Blundell [Mon, 26 Jan 1998 14:28:48 +0000 (14:28 +0000)]
Remove the comment about address and route deletion not being
implemented for IPv6, since this is no longer the case.

26 years agoFDDI compiled under glibc now, plus misc other fixes
Phil Blundell [Sun, 25 Jan 1998 21:56:23 +0000 (21:56 +0000)]
FDDI compiled under glibc now, plus misc other fixes

26 years agoMore fixes
Phil Blundell [Sun, 25 Jan 1998 13:47:51 +0000 (13:47 +0000)]
More fixes

26 years agoMerge various changes from my private tree.
Phil Blundell [Sun, 25 Jan 1998 12:54:35 +0000 (12:54 +0000)]
Merge various changes from my private tree.
 - ROSE and FDDI support is in now
 - `route' ignores routes that are deleted, to avoid confusing users.
 - `ifconfig' no longer even tries to use SIOCGIFCOUNT.  Even old ifconfigs
   will work correctly without it though, so let's delete this ioctl now
   before 2.2 is released.  It was only added in the mid 2.1 series so no code
   should rely on it yet.

Also the usual round of tidying up.

I need to check whether Bernd has any outstanding changes, and then I want
to release net-tools 1.50 in the fairly near future.

26 years agoAdd Ash support
Phil Blundell [Wed, 14 Jan 1998 13:31:49 +0000 (13:31 +0000)]
Add Ash support

26 years agoAdd txqueuelen argument to ifconfig.
Klaas Freitag [Mon, 12 Jan 1998 14:39:31 +0000 (14:39 +0000)]
Add txqueuelen argument to ifconfig.
Some libc5 fixes.

Note that it isn't tested yet, because I still don't have a kernel
with a working SIOCGIFFTXQLEN.

26 years agoInitial revision
Phil Blundell [Thu, 8 Jan 1998 09:54:43 +0000 (09:54 +0000)]
Initial revision