mirror of
https://gitlab.isc.org/isc-projects/dhcp
synced 2025-09-02 15:25:48 +00:00
Change the index element of omapi_listener_object_t from an int32_t
to an int, to avoid problems when passing it to omapi_array_extend() elsewhere.
This commit is contained in:
@@ -173,7 +173,7 @@ typedef struct {
|
|||||||
typedef struct __omapi_listener_object {
|
typedef struct __omapi_listener_object {
|
||||||
OMAPI_OBJECT_PREAMBLE;
|
OMAPI_OBJECT_PREAMBLE;
|
||||||
int socket; /* Connection socket. */
|
int socket; /* Connection socket. */
|
||||||
int32_t index;
|
int index;
|
||||||
struct sockaddr_in address;
|
struct sockaddr_in address;
|
||||||
isc_result_t (*verify_addr) (omapi_object_t *, omapi_addr_t *);
|
isc_result_t (*verify_addr) (omapi_object_t *, omapi_addr_t *);
|
||||||
} omapi_listener_object_t;
|
} omapi_listener_object_t;
|
||||||
|
Reference in New Issue
Block a user