diff options
author | Dan Winship <danw@gnome.org> | 2013-05-21 12:49:24 -0300 |
---|---|---|
committer | Dan Winship <danw@gnome.org> | 2013-06-04 10:01:14 -0300 |
commit | d9e0a7cbd6f8fdf81e2f66192828b860a38edd10 (patch) | |
tree | ca1ddc9001a0b2e43a908495b5a66a645a64ad85 /src/platform/nm-fake-platform.c | |
parent | 7f0f04d1067ff05527007e03af591a2bfecadafb (diff) | |
download | NetworkManager-d9e0a7cbd6f8fdf81e2f66192828b860a38edd10.tar.gz |
platform, devices: add support for gre and gretap devices
Diffstat (limited to 'src/platform/nm-fake-platform.c')
-rw-r--r-- | src/platform/nm-fake-platform.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/platform/nm-fake-platform.c b/src/platform/nm-fake-platform.c index 727561cdb1..e67a021710 100644 --- a/src/platform/nm-fake-platform.c +++ b/src/platform/nm-fake-platform.c @@ -582,6 +582,12 @@ vxlan_get_properties (NMPlatform *platform, int ifindex, NMPlatformVxlanProperti return FALSE; } +static gboolean +gre_get_properties (NMPlatform *platform, int ifindex, NMPlatformGreProperties *props) +{ + return FALSE; +} + /******************************************************************/ static GArray * @@ -1043,6 +1049,7 @@ nm_fake_platform_class_init (NMFakePlatformClass *klass) platform_class->tun_get_properties = tun_get_properties; platform_class->macvlan_get_properties = macvlan_get_properties; platform_class->vxlan_get_properties = vxlan_get_properties; + platform_class->gre_get_properties = gre_get_properties; platform_class->ip4_address_get_all = ip4_address_get_all; platform_class->ip6_address_get_all = ip6_address_get_all; |