X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=lib%2Fvconn.c;h=15ccfead197a57cb347fa27ccb31576631f8e788;hb=16f5f39c5db116b8ce90cbb8250cd9716dd04ce7;hp=533278bf2125abc7e4716866772953472961087e;hpb=98704941ec95258281da2ac147ce5f3e03436ba4;p=sliver-openvswitch.git diff --git a/lib/vconn.c b/lib/vconn.c index 533278bf2..15ccfead1 100644 --- a/lib/vconn.c +++ b/lib/vconn.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2008, 2009 Nicira Networks. + * Copyright (c) 2008, 2009, 2010 Nicira Networks. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -859,6 +859,7 @@ make_flow_mod(uint16_t command, const flow_t *flow, size_t actions_len) ofm->header.version = OFP_VERSION; ofm->header.type = OFPT_FLOW_MOD; ofm->header.length = htons(size); + ofm->cookie = 0; ofm->match.wildcards = htonl(0); ofm->match.in_port = htons(flow->in_port == ODPP_LOCAL ? OFPP_LOCAL : flow->in_port);