chiark / gitweb /
journal-remote: stop using EWOULDBLOCK
[elogind.git] / src / libsystemd-network / test-pppoe.c
index 0d419aa1722a7392b0c9128225849ec8152394fc..40d04fdb217d3ea624298027d3c51118c7c1e6bd 100644 (file)
 ***/
 
 #include <stdlib.h>
-#include <assert.h>
 #include <errno.h>
-#include <stdio.h>
-#include <sys/types.h>
-#include <sys/socket.h>
 #include <unistd.h>
 
 #include <linux/veth.h>
 #include <net/if.h>
 
 #include "util.h"
-#include "socket-util.h"
 #include "sd-event.h"
 #include "event-util.h"
 #include "sd-rtnl.h"
-#include "rtnl-util.h"
 #include "sd-pppoe.h"
 
 static void pppoe_handler(sd_pppoe *ppp, int event, void *userdata) {
@@ -139,8 +133,8 @@ static int test_pppoe_server(sd_event *e) {
                        "-I", "pppoe-server",
                        "-C", "Test-AC",
                        "-S", "Service-Default",
-                       "-S", "Service-First-Auxillary",
-                       "-S", "Service-Second-Auxillary",
+                       "-S", "Service-First-Auxiliary",
+                       "-S", "Service-Second-Auxiliary",
                        NULL);
                 assert_not_reached("failed to execute pppoe-server. not installed?");
         }