X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=lib%2Flearn.c;h=94fc1b02158c5142cc3b4ae7e60bd527a3cda0a9;hb=734ec5ec13499a2e7112626564cc9bd0c2d06600;hp=9ca8b65a3e152a5bdb2747697f67632c861e6639;hpb=08f94c0e1a47518e73f954af8f61eb0df31ac8bd;p=openvswitch diff --git a/lib/learn.c b/lib/learn.c index 9ca8b65a..94fc1b02 100644 --- a/lib/learn.c +++ b/lib/learn.c @@ -197,6 +197,7 @@ learn_execute(const struct nx_action_learn *learn, const struct flow *flow, cls_rule_init_catchall(&fm->cr, ntohs(learn->priority)); fm->cookie = learn->cookie; + fm->cookie_mask = htonll(UINT64_MAX); fm->table_id = learn->table_id; fm->command = OFPFC_MODIFY_STRICT; fm->idle_timeout = ntohs(learn->idle_timeout);