classifier: Make insert and replace take a const rule, too.
authorJarno Rajahalme <jrajahalme@nicira.com>
Thu, 13 Nov 2014 19:54:31 +0000 (11:54 -0800)
committerJarno Rajahalme <jrajahalme@nicira.com>
Sat, 15 Nov 2014 00:00:46 +0000 (16:00 -0800)
commitd0999f1b34ecaefc5b3ab7bef3e7804383cdc3f7
tree1fd28292bbf6f444b24559bcd89247508b766247
parentfccd7c092e09ce9767d34436bf9c70302c87c5f5
classifier: Make insert and replace take a const rule, too.

classifier_remove() was recently changed to take a const struct
cls_rule *.  Make the corresponding change to classifier_replace() and
classifier_insert().  This simplifies existing calling sites in
ofproto.

Signed-off-by: Jarno Rajahalme <jrajahalme@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
lib/classifier.c
lib/classifier.h
ofproto/ofproto.c