aboutsummaryrefslogtreecommitdiff
path: root/lib/netdev.c
diff options
context:
space:
mode:
authorEthan Jackson <ethan@nicira.com>2012-12-16 16:42:17 -0800
committerEthan Jackson <ethan@nicira.com>2013-01-03 16:55:43 -0800
commit275707c33f8f5463154bc3e2f561181a2060ab57 (patch)
tree25424f8af78c56bcd70b49068377db781372f404 /lib/netdev.c
parent9284baa2a4872f477722aa6fba2be8ad7b317f00 (diff)
netdev: Rename get_drv_info() to get_status().
get_status() is a much more intuitive name since "status" is what the database column is called. Signed-off-by: Ethan Jackson <ethan@nicira.com>
Diffstat (limited to 'lib/netdev.c')
-rw-r--r--lib/netdev.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/netdev.c b/lib/netdev.c
index 1921ac0d..8c8bacbd 100644
--- a/lib/netdev.c
+++ b/lib/netdev.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2008, 2009, 2010, 2011, 2012 Nicira, Inc.
+ * Copyright (c) 2008, 2009, 2010, 2011, 2012, 2013 Nicira, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -771,12 +771,12 @@ netdev_get_next_hop(const struct netdev *netdev,
* information may be used to populate the status column of the Interface table
* as defined in ovs-vswitchd.conf.db(5). */
int
-netdev_get_drv_info(const struct netdev *netdev, struct smap *smap)
+netdev_get_status(const struct netdev *netdev, struct smap *smap)
{
struct netdev_dev *dev = netdev_get_dev(netdev);
- return (dev->netdev_class->get_drv_info
- ? dev->netdev_class->get_drv_info(netdev, smap)
+ return (dev->netdev_class->get_status
+ ? dev->netdev_class->get_status(netdev, smap)
: EOPNOTSUPP);
}