diff options
| author | Matthew N. Dodd <mdodd@FreeBSD.org> | 2003-03-26 03:19:56 +0000 |
|---|---|---|
| committer | Matthew N. Dodd <mdodd@FreeBSD.org> | 2003-03-26 03:19:56 +0000 |
| commit | 87b6469f1e0fdfd477ae28ce25a61befb6d0c994 (patch) | |
| tree | 9834a3642cbfc31c6af47936e2c973013bd8422c /sbin | |
| parent | 6181d229c29b605c6c789bddc934af4355e56d53 (diff) | |
Notes
Diffstat (limited to 'sbin')
| -rw-r--r-- | sbin/atm/ilmid/ilmid.c | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/sbin/atm/ilmid/ilmid.c b/sbin/atm/ilmid/ilmid.c index de0811cd5af34..fb025e2c82eee 100644 --- a/sbin/atm/ilmid/ilmid.c +++ b/sbin/atm/ilmid/ilmid.c @@ -94,7 +94,7 @@ __RCSID("@(#) $FreeBSD$"); #define ASN_IPADDR 0x40 #define ASN_TIMESTAMP 0x43 -static char *Var_Types[] = { +static const char *Var_Types[] = { "", "", "ASN_INTEGER", @@ -293,7 +293,7 @@ enum ilmi_states { ILMI_RUNNING /* Normal processing */ }; -static char *ILMI_State[] = { +static const char *ILMI_State[] = { "UNKNOWN", "COLDSTART", "INIT", @@ -319,14 +319,6 @@ u_char Resp_Buf[1024]; #define COPY_RESP(resp) \ bcopy ( (resp), Resp_Buf, (resp)[0] + 1 ) -/* - * TRAP generic trap types - */ -char *Traps[] = { "coldStart", "warmStart", "linkDown", "linkUp", - "authenticationFailure", "egpNeighborLoss", - "enterpriseSpecific" }; - - int NUnits; /* @@ -370,8 +362,8 @@ void set_reqid( u_char *, int ); void Increment_DL( int ); void Decrement_DL( int ); -static char *Months[] = { "Jan", "Feb", "Mar", "Apr", "May", "Jun", - "Jul", "Aug", "Sep", "Oct", "Nov", "Dec" }; +static const char *Months[] = { "Jan", "Feb", "Mar", "Apr", "May", "Jun", + "Jul", "Aug", "Sep", "Oct", "Nov", "Dec" }; static void hexdump (FILE *, u_int8_t *, int, char *); |
