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_bpf.c | |
| parent | 0d8c7a26a1e5dbbd36df79751b2468276bd7ec20 (diff) | |
*: 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_bpf.c')
| -rw-r--r-- | isisd/isis_bpf.c | 11 | 
1 files changed, 7 insertions, 4 deletions
diff --git a/isisd/isis_bpf.c b/isisd/isis_bpf.c index d6b85b2fa3..e916a50883 100644 --- a/isisd/isis_bpf.c +++ b/isisd/isis_bpf.c @@ -65,10 +65,13 @@ uint8_t *readbuff = NULL;   * 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}; +#if 0 +/* missing support for P2P-over-LAN / ES-IS on BSD */ +static const uint8_t ALL_ISS[6] = {0x09, 0x00, 0x2B, 0x00, 0x00, 0x05}; +static const uint8_t ALL_ESS[6] = {0x09, 0x00, 0x2B, 0x00, 0x00, 0x04}; +#endif  static char sock_buff[8192];  | 
