X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=ofproto%2Fofproto.c;h=37e2ad9d2c850e94ae639367760c1a8cd456b3be;hb=refs%2Fheads%2Fvlan-maint;hp=9bcef2ce658d97b8c2e025518b6383d8bfd001f3;hpb=5bba4697868056f96aec322a35c5e60e5792cf1a;p=sliver-openvswitch.git diff --git a/ofproto/ofproto.c b/ofproto/ofproto.c index 9bcef2ce6..37e2ad9d2 100644 --- a/ofproto/ofproto.c +++ b/ofproto/ofproto.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2009, 2010, 2011 Nicira Networks. + * Copyright (c) 2009, 2010, 2011, 2012 Nicira Networks. * Copyright (c) 2010 Jean Tourrilhes - HP-Labs. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -515,7 +515,7 @@ ofproto_create(const char *datapath, const char *datapath_type, } else { p->ofhooks = &default_ofhooks; p->aux = p; - p->ml = mac_learning_create(); + p->ml = mac_learning_create(MAC_ENTRY_DEFAULT_IDLE_TIME); } /* Pick final datapath ID. */