Commit b1279cc6 authored by Phil Blundell's avatar Phil Blundell

Some small Ash changes.

parent 71b70d43
1998-02-05 Phil Blundell <philb@gnu.org>
* lib/ash.c: Don't redefine ARPHRD constant. Change it from
ARPHRD_ASH64 to just ARPHRD_ASH, since the encap is the same for
16Mbps.
* lib/hw.c: Print just `Ash', not `64Mbps Ash'.
1998-01-31 Phil Blundell <philb@gnu.org> 1998-01-31 Phil Blundell <philb@gnu.org>
* lib/inet6_gr.c (rprint_fib6): Reinstate the "U" flag, although it * lib/inet6_gr.c (rprint_fib6): Reinstate the "U" flag, although it
......
...@@ -21,8 +21,10 @@ ...@@ -21,8 +21,10 @@
#define EXTERN #define EXTERN
#include "net-locale.h" #include "net-locale.h"
#undef ARPHRD_ASH64 #ifndef ARPHRD_ASH
#define ARPHRD_ASH64 517 #error Your C library does not support Ash
#endif
#define ASH_ALEN 32 #define ASH_ALEN 32
extern struct hwtype ash_hwtype; extern struct hwtype ash_hwtype;
...@@ -95,7 +97,7 @@ in_ash(char *bufp, struct sockaddr *sap) ...@@ -95,7 +97,7 @@ in_ash(char *bufp, struct sockaddr *sap)
struct hwtype ash_hwtype = { struct hwtype ash_hwtype = {
"ash", NULL, ARPHRD_ASH64, ASH_ALEN, "ash", NULL, ARPHRD_ASH, ASH_ALEN,
pr_ash, pr_sash, in_ash, NULL pr_ash, pr_sash, in_ash, NULL
}; };
......
...@@ -128,7 +128,7 @@ void hwinit () ...@@ -128,7 +128,7 @@ void hwinit ()
ether_hwtype.title = NLS_CATSAVE (catfd, etherSet, ether_ether, "Ethernet"); ether_hwtype.title = NLS_CATSAVE (catfd, etherSet, ether_ether, "Ethernet");
#endif #endif
#if HAVE_HWASH #if HAVE_HWASH
ash_hwtype.title = NLS_CATSAVE (catfd, ashSet, ash_hw, "64Mbps Ash"); ash_hwtype.title = NLS_CATSAVE (catfd, ashSet, ash_hw, "Ash");
#endif #endif
#if HAVE_HWFDDI #if HAVE_HWFDDI
fddi_hwtype.title = NLS_CATSAVE (catfd, fddiSet, fddi_fddi, "Fiber Distributed Data Interface"); fddi_hwtype.title = NLS_CATSAVE (catfd, fddiSet, fddi_fddi, "Fiber Distributed Data Interface");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment