X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=ofproto%2Ffail-open.c;h=6fb1ea8a6b3bb30619f66c44bc208c1d07f8ae3e;hb=1db6b18507b06c9b866168dc9e01fd15180c37eb;hp=bf57b9fcc1669c9709d3a5f3f6a3ca0c5cfc46de;hpb=19a87e3637f8c278e1bc16bb9a7ab32af0a21d6b;p=openvswitch diff --git a/ofproto/fail-open.c b/ofproto/fail-open.c index bf57b9fc..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,6 +26,7 @@ #include "ofp-util.h" #include "ofpbuf.h" #include "ofproto.h" +#include "ofproto-provider.h" #include "pktbuf.h" #include "poll-loop.h" #include "rconn.h" @@ -215,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);