summaryrefslogtreecommitdiff
path: root/dpid/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'dpid/main.c')
-rw-r--r--dpid/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dpid/main.c b/dpid/main.c
index 065e7858..aad1af90 100644
--- a/dpid/main.c
+++ b/dpid/main.c
@@ -146,7 +146,7 @@ static char *get_request(int sock)
* \Return
* command code on success, -1 on failure
*/
-static int get_command(int sock, char *dpi_tag, struct dp *dpi_attr_list)
+static int get_command(int sock, char *dpi_tag)
{
char *cmd, *d_cmd;
int COMMAND;
@@ -337,7 +337,7 @@ int main(void)
int command;
req = get_request(sock);
- command = get_command(sock, req, dpi_attr_list);
+ command = get_command(sock, req);
switch (command) {
case BYE_CMD:
stop_active_dpis(dpi_attr_list, numdpis);