diff options
author | Ethan Jackson <ethan@nicira.com> | 2012-12-16 16:42:17 -0800 |
---|---|---|
committer | Ethan Jackson <ethan@nicira.com> | 2013-01-03 16:55:43 -0800 |
commit | 275707c33f8f5463154bc3e2f561181a2060ab57 (patch) | |
tree | 25424f8af78c56bcd70b49068377db781372f404 /vswitchd | |
parent | 9284baa2a4872f477722aa6fba2be8ad7b317f00 (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 'vswitchd')
-rw-r--r-- | vswitchd/bridge.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vswitchd/bridge.c b/vswitchd/bridge.c index beb8b936..348faef3 100644 --- a/vswitchd/bridge.c +++ b/vswitchd/bridge.c @@ -1,4 +1,4 @@ -/* 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. @@ -1712,7 +1712,7 @@ iface_refresh_status(struct iface *iface) smap_init(&smap); - if (!netdev_get_drv_info(iface->netdev, &smap)) { + if (!netdev_get_status(iface->netdev, &smap)) { ovsrec_interface_set_status(iface->cfg, &smap); } else { ovsrec_interface_set_status(iface->cfg, NULL); |