X-Git-Url: http://git.cascardo.eti.br/?a=blobdiff_plain;f=ofproto%2Fofproto-dpif.c;h=db01196ebfdd4573d7220c68d6c499303d10a599;hb=2d04a2aff72ccfebbfc576a6de360062ef071232;hp=7f59b94e8c8508f648c6f636186e0561b2bca1b5;hpb=0a93f63f64896b240fb3943122537f8b59f55f93;p=cascardo%2Fovs.git diff --git a/ofproto/ofproto-dpif.c b/ofproto/ofproto-dpif.c index 7f59b94e8..db01196eb 100644 --- a/ofproto/ofproto-dpif.c +++ b/ofproto/ofproto-dpif.c @@ -365,18 +365,6 @@ ofproto_dpif_flow_mod(struct ofproto_dpif *ofproto, ofproto_flow_mod(&ofproto->up, fm); } -/* Resets the modified time for 'rule' or an equivalent rule. If 'rule' is not - * in the classifier, but an equivalent rule is, unref 'rule' and ref the new - * rule. Otherwise if 'rule' is no longer installed in the classifier, - * reinstall it. - * - * Returns the rule whose modified time has been reset. */ -struct rule_dpif * -ofproto_dpif_refresh_rule(struct rule_dpif *rule) -{ - return rule_dpif_cast(ofproto_refresh_rule(&rule->up)); -} - /* Appends 'pin' to the queue of "packet ins" to be sent to the controller. * Takes ownership of 'pin' and pin->packet. */ void