]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/libsystemd-network/test-pppoe.c
sd-pppoe: fix namespacing
[thirdparty/systemd.git] / src / libsystemd-network / test-pppoe.c
index 72878f4b51aae2122842a48664acdd6d1b185c29..6d71569a26595bdcc02dc9959b1304f962046a39 100644 (file)
@@ -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;