diff options
author | wmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7> | 2008-08-14 23:51:52 +0000 |
---|---|---|
committer | wmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7> | 2008-08-14 23:51:52 +0000 |
commit | 337de6d8863368f51251e91d0250b909ba8145a4 (patch) | |
tree | 5f2def988c53bab44c39a876810d0419fb41d72b /epan/dissectors/packet-nt-sonmp.c | |
parent | 1ed6645362b1a65d313ca1357a6022890c005502 (diff) |
Use const with value_string array definitions
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@26028 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-nt-sonmp.c')
-rw-r--r-- | epan/dissectors/packet-nt-sonmp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/packet-nt-sonmp.c b/epan/dissectors/packet-nt-sonmp.c index 43a605b63b..eac62d972f 100644 --- a/epan/dissectors/packet-nt-sonmp.c +++ b/epan/dissectors/packet-nt-sonmp.c @@ -50,7 +50,7 @@ /* chassis types */ /* From synro199.mib - SnpxChassisType */ -static value_string sonmp_chassis_val[] = +static const value_string sonmp_chassis_val[] = { {2, "m3000"}, {3, "m3030"}, @@ -163,7 +163,7 @@ static value_string sonmp_chassis_val[] = }; /* from synro179.mib - SnpxBackplaneType */ -static value_string sonmp_backplane_val[] = +static const value_string sonmp_backplane_val[] = { {1, "Other"}, {2, "ethernet"}, @@ -180,7 +180,7 @@ static value_string sonmp_backplane_val[] = {0, NULL} }; -static value_string sonmp_nmm_state_val[] = +static const value_string sonmp_nmm_state_val[] = { {1, "Topology Change"}, {2, "Heartbeat"}, |