]> git.proxmox.com Git - mirror_ovs.git/commitdiff
netdev-provider: Clarify comment where 'get_next_hop' function looks.
authorBen Pfaff <blp@nicira.com>
Wed, 23 Jul 2014 19:48:42 +0000 (12:48 -0700)
committerBen Pfaff <blp@nicira.com>
Thu, 24 Jul 2014 19:51:28 +0000 (12:51 -0700)
Some readers thought it was looking in an ofproto- or netdev-specific
table.

Signed-off-by: Ben Pfaff <blp@nicira.com>
Acked-by: Flavio Leitner <fbl@redhat.com>
lib/netdev-provider.h

index 6b8160d5efdff258aa8a7c7e966d27fd1f3f9efb..56244adec94b2f07489cbfabebc659f4c1c3b720 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2009, 2010, 2011, 2012, 2013 Nicira, Inc.
+ * Copyright (c) 2009, 2010, 2011, 2012, 2013, 2014 Nicira, Inc.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -607,11 +607,11 @@ struct netdev_class {
      * anyhow. */
     int (*add_router)(struct netdev *netdev, struct in_addr router);
 
-    /* Looks up the next hop for 'host'.  If successful, stores the next hop
-     * gateway's address (0 if 'host' is on a directly connected network) in
-     * '*next_hop' and a copy of the name of the device to reach 'host' in
-     * '*netdev_name', and returns 0.  The caller is responsible for freeing
-     * '*netdev_name' (by calling free()).
+    /* Looks up the next hop for 'host' in the host's routing table.  If
+     * successful, stores the next hop gateway's address (0 if 'host' is on a
+     * directly connected network) in '*next_hop' and a copy of the name of the
+     * device to reach 'host' in '*netdev_name', and returns 0.  The caller is
+     * responsible for freeing '*netdev_name' (by calling free()).
      *
      * This function may be set to null if it would always return EOPNOTSUPP
      * anyhow. */