summaryrefslogtreecommitdiff
path: root/src/systemd/sd-ndisc.h
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2015-10-22 17:46:35 +0200
committerTom Gundersen <teg@jklm.no>2015-11-11 15:42:38 +0100
commitcb53894d3b6e90edaee4219fe716850d01242f46 (patch)
treeb3b8f88db29f2836235b465349098673e342bed4 /src/systemd/sd-ndisc.h
parentb69015efd2752fd2719beec85496221304130b0b (diff)
downloadsystemd-cb53894d3b6e90edaee4219fe716850d01242f46.tar.gz
sd-ndisc: notify user on STOP
Also, stop the state machine when we get into a broken state, rather than just notify the user.
Diffstat (limited to 'src/systemd/sd-ndisc.h')
-rw-r--r--src/systemd/sd-ndisc.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/systemd/sd-ndisc.h b/src/systemd/sd-ndisc.h
index 570e1741d6..d0dd098560 100644
--- a/src/systemd/sd-ndisc.h
+++ b/src/systemd/sd-ndisc.h
@@ -31,10 +31,11 @@
_SD_BEGIN_DECLARATIONS;
enum {
- SD_NDISC_EVENT_ROUTER_ADVERTISMENT_NONE = 0,
- SD_NDISC_EVENT_ROUTER_ADVERTISMENT_TIMEOUT = 1,
- SD_NDISC_EVENT_ROUTER_ADVERTISMENT_OTHER = 2,
- SD_NDISC_EVENT_ROUTER_ADVERTISMENT_MANAGED = 3,
+ SD_NDISC_EVENT_ROUTER_ADVERTISMENT_NONE = 0,
+ SD_NDISC_EVENT_ROUTER_ADVERTISMENT_TIMEOUT = 1,
+ SD_NDISC_EVENT_ROUTER_ADVERTISMENT_OTHER = 2,
+ SD_NDISC_EVENT_ROUTER_ADVERTISMENT_MANAGED = 3,
+ SD_NDISC_EVENT_STOP = 4,
};
typedef struct sd_ndisc sd_ndisc;