diff options
| author | Donatas Abraitis <donatas@opensourcerouting.org> | 2023-06-13 16:08:24 +0300 |
|---|---|---|
| committer | David Lamparter <equinox@opensourcerouting.org> | 2024-05-05 19:25:29 +0200 |
| commit | 6365b6c89affbdba3bce68c166c8539cf22de462 (patch) | |
| tree | 27cb970d31b9752b70aa267bf758aaa3bd7e5db4 /ospfclient/ospfclient.py | |
| parent | 6251f1d3b532f58f01f7d2d0a21e6fe54e27f642 (diff) | |
bgpd: Use enum bgp_create_error_code as argument in header
```
bgpd/bgp_vty.c:865:5: warning: conflicting types for ‘bgp_vty_return’ due to enum/integer mismatch; have ‘int(struct vty *, enum bgp_create_error_code)’ [-Wenum-int-mismatch]
865 | int bgp_vty_return(struct vty *vty, enum bgp_create_error_code ret)
| ^~~~~~~~~~~~~~
In file included from ./bgpd/bgp_mplsvpn.h:15,
from bgpd/bgp_vty.c:48:
./bgpd/bgp_vty.h:148:12: note: previous declaration of ‘bgp_vty_return’ with type ‘int(struct vty *, int)’
148 | extern int bgp_vty_return(struct vty *vty, int ret);
| ^~~~~~~~~~~~~~
```
Fixing stuff regarding GCC13.
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
(cherry picked from commit cc280c74cea8183b31f60ef16bda617eca364c9d)
Diffstat (limited to 'ospfclient/ospfclient.py')
0 files changed, 0 insertions, 0 deletions
