X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=lib%2Flearning-switch.h;h=c3c37f2966fff6ff428f9347d2610fc4f8d49509;hb=44bac24ba5d22fe238bd96702707eb2029efec41;hp=e42aec16a47af9314e060cbbfaa886a649df2ddb;hpb=b54c9e972e74ed51ce8a6d0a071f253f48432d6c;p=sliver-openvswitch.git diff --git a/lib/learning-switch.h b/lib/learning-switch.h index e42aec16a..c3c37f296 100644 --- a/lib/learning-switch.h +++ b/lib/learning-switch.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2008, 2010, 2011 Nicira, Inc. + * Copyright (c) 2008, 2010, 2011, 2012 Nicira, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -55,8 +55,8 @@ struct lswitch_config { * specifying a particular queue. */ uint32_t default_queue; - /* Maps from a port name to a queue_id (cast to void *). */ - const struct shash *port_queues; + /* Maps from a port name to a queue_id. */ + const struct simap *port_queues; }; struct lswitch *lswitch_create(struct rconn *, const struct lswitch_config *);