+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>
* lib/inet6_gr.c (rprint_fib6): Reinstate the "U" flag, although it
#define EXTERN
#include "net-locale.h"
-#undef ARPHRD_ASH64
-#define ARPHRD_ASH64 517
+#ifndef ARPHRD_ASH
+#error Your C library does not support Ash
+#endif
+
#define ASH_ALEN 32
extern 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
};
ether_hwtype.title = NLS_CATSAVE (catfd, etherSet, ether_ether, "Ethernet");
#endif
#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
#if HAVE_HWFDDI
fddi_hwtype.title = NLS_CATSAVE (catfd, fddiSet, fddi_fddi, "Fiber Distributed Data Interface");