diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-09-22 15:31:55 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-09-22 15:31:55 +0200 |
commit | 9c90e27767697e01b0cfb9f345b928763942b731 (patch) | |
tree | b9a73972a13c83ceaab9a65ce31f515df90ac8f3 /src/libsystemd-network/test-pppoe.c | |
parent | 85fade1edbc3d6ccf7e0685bbf4790f30d35009e (diff) | |
parent | 9ef61f2e4802abdb4a2853a82126420b1e77b419 (diff) |
Merge pull request #1333 from dvdhrm/sd-network-cleanup
sd-network: random API cleanups
Diffstat (limited to 'src/libsystemd-network/test-pppoe.c')
-rw-r--r-- | src/libsystemd-network/test-pppoe.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libsystemd-network/test-pppoe.c b/src/libsystemd-network/test-pppoe.c index 72878f4b51..6d71569a26 100644 --- a/src/libsystemd-network/test-pppoe.c +++ b/src/libsystemd-network/test-pppoe.c @@ -41,12 +41,12 @@ static void pppoe_handler(sd_pppoe *ppp, int event, void *userdata) { assert_se(e); switch (event) { - case PPPOE_EVENT_RUNNING: + case SD_PPPOE_EVENT_RUNNING: assert_se(pppoe_state == -1); log_info("running"); break; - case PPPOE_EVENT_STOPPED: - assert_se(pppoe_state == PPPOE_EVENT_RUNNING); + case SD_PPPOE_EVENT_STOPPED: + assert_se(pppoe_state == SD_PPPOE_EVENT_RUNNING); log_info("stopped"); assert_se(sd_event_exit(e, 0) >= 0); break; |