diff options
author | David Lamparter <equinox@diac24.net> | 2019-11-20 17:26:59 +0100 |
---|---|---|
committer | David Lamparter <equinox@diac24.net> | 2019-12-02 15:01:29 +0100 |
commit | 2b64873d24730882af68bdf2881aa380a3a8d17f (patch) | |
tree | 7bb835e81d96fc17ec5d1bed8bb5f5857a9673ad /isisd/isis_dlpi.c | |
parent | *: make frr_yang_module_info const (diff) | |
download | frr-2b64873d24730882af68bdf2881aa380a3a8d17f.tar.xz frr-2b64873d24730882af68bdf2881aa380a3a8d17f.zip |
*: generously apply const
const const const your boat, merrily down the stream...
Signed-off-by: David Lamparter <equinox@diac24.net>
Diffstat (limited to 'isisd/isis_dlpi.c')
-rw-r--r-- | isisd/isis_dlpi.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/isisd/isis_dlpi.c b/isisd/isis_dlpi.c index 7d3dfcb01..ea16f4af7 100644 --- a/isisd/isis_dlpi.c +++ b/isisd/isis_dlpi.c @@ -54,10 +54,13 @@ static t_uscalar_t dlpi_ctl[1024]; /* DLPI control messages */ * ISO 10589 - 8.4.8 */ -uint8_t ALL_L1_ISS[6] = {0x01, 0x80, 0xC2, 0x00, 0x00, 0x14}; -uint8_t ALL_L2_ISS[6] = {0x01, 0x80, 0xC2, 0x00, 0x00, 0x15}; -uint8_t ALL_ISS[6] = {0x09, 0x00, 0x2B, 0x00, 0x00, 0x05}; -uint8_t ALL_ESS[6] = {0x09, 0x00, 0x2B, 0x00, 0x00, 0x04}; +static const uint8_t ALL_L1_ISS[6] = {0x01, 0x80, 0xC2, 0x00, 0x00, 0x14}; +static const uint8_t ALL_L2_ISS[6] = {0x01, 0x80, 0xC2, 0x00, 0x00, 0x15}; +static const uint8_t ALL_ISS[6] = {0x09, 0x00, 0x2B, 0x00, 0x00, 0x05}; +#if 0 +/* missing support for ES-IS on Solaris */ +static const uint8_t ALL_ESS[6] = {0x09, 0x00, 0x2B, 0x00, 0x00, 0x04}; +#endif static uint8_t sock_buff[8192]; |