summaryrefslogtreecommitdiff
path: root/src/systemd/sd-ndisc.h
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2018-11-06 14:07:19 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2018-11-06 20:15:09 +0900
commita2dcda328a43693b73449ce6be0545dd60846cd9 (patch)
treebcc4b467b40e786689f9b9528b7a5f9eb54ab451 /src/systemd/sd-ndisc.h
parent4f0e4d29b0fa232d077653cea57061770c3a529e (diff)
downloadsystemd-a2dcda328a43693b73449ce6be0545dd60846cd9.tar.gz
ndisc: improve debug log message
Diffstat (limited to 'src/systemd/sd-ndisc.h')
-rw-r--r--src/systemd/sd-ndisc.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/systemd/sd-ndisc.h b/src/systemd/sd-ndisc.h
index 6b6249ca03..d1bee343a2 100644
--- a/src/systemd/sd-ndisc.h
+++ b/src/systemd/sd-ndisc.h
@@ -55,8 +55,10 @@ typedef struct sd_ndisc sd_ndisc;
typedef struct sd_ndisc_router sd_ndisc_router;
typedef enum sd_ndisc_event {
- SD_NDISC_EVENT_TIMEOUT = 't',
- SD_NDISC_EVENT_ROUTER = 'r',
+ SD_NDISC_EVENT_TIMEOUT,
+ SD_NDISC_EVENT_ROUTER,
+ _SD_NDISC_EVENT_MAX,
+ _SD_NDISC_EVENT_INVALID = -1,
} sd_ndisc_event;
typedef void (*sd_ndisc_callback_t)(sd_ndisc *nd, sd_ndisc_event event, sd_ndisc_router *rt, void *userdata);