X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=ofproto%2Ffail-open.c;h=6fb1ea8a6b3bb30619f66c44bc208c1d07f8ae3e;hb=1db6b18507b06c9b866168dc9e01fd15180c37eb;hp=197e5183e89b940e54d542aa1ec79d39be9f0e0c;hpb=d08a2e920631099d68f4efd4e72f6c14987520ce;p=openvswitch diff --git a/ofproto/fail-open.c b/ofproto/fail-open.c index 197e5183..6fb1ea8a 100644 --- a/ofproto/fail-open.c +++ b/ofproto/fail-open.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2008, 2009, 2010, 2011 Nicira Networks. + * Copyright (c) 2008, 2009, 2010, 2011, 2012 Nicira Networks. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -26,9 +26,9 @@ #include "ofp-util.h" #include "ofpbuf.h" #include "ofproto.h" +#include "ofproto-provider.h" #include "pktbuf.h" #include "poll-loop.h" -#include "private.h" #include "rconn.h" #include "timeval.h" #include "vconn.h" @@ -216,7 +216,7 @@ fail_open_flushed(struct fail_open *fo) /* Set up a flow that matches every packet and directs them to * OFPP_NORMAL. */ memset(&action, 0, sizeof action); - action.type = htons(OFPAT_OUTPUT); + action.type = htons(OFPAT10_OUTPUT); action.output.len = htons(sizeof action); action.output.port = htons(OFPP_NORMAL);