X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=lib%2Fautopath.c;h=ae8007dee0f82c45204dd04caaa06400313647e4;hb=c51c638a13261a17bc39e7d7cef3fc4bc458a508;hp=93fedd1a64526abaf4999dacfc325efb68e0b2ad;hpb=f6af6c0e1cec12863d8fc747317c625ff2eef013;p=sliver-openvswitch.git diff --git a/lib/autopath.c b/lib/autopath.c index 93fedd1a6..ae8007dee 100644 --- a/lib/autopath.c +++ b/lib/autopath.c @@ -89,6 +89,9 @@ autopath_from_openflow(const struct nx_action_autopath *nap, enum ofperr autopath_check(const struct ofpact_autopath *autopath, const struct flow *flow) { + VLOG_WARN_ONCE("The autopath action is deprecated and may be removed in" + " February 2013. Please email dev@openvswitch.org with" + " concerns."); return mf_check_dst(&autopath->dst, flow); } @@ -96,8 +99,9 @@ void autopath_to_nxast(const struct ofpact_autopath *autopath, struct ofpbuf *openflow) { - struct nx_action_autopath *ap = ofputil_put_NXAST_AUTOPATH(openflow); + struct nx_action_autopath *ap; + ap = ofputil_put_NXAST_AUTOPATH__DEPRECATED(openflow); ap->ofs_nbits = nxm_encode_ofs_nbits(autopath->dst.ofs, autopath->dst.n_bits); ap->dst = htonl(autopath->dst.field->nxm_header);