platform/trivial: rename enum value NM_IP_CONFIG_SOURCE_RTPROT_KERNEL

This source type was platform internal up to now. Next we will expose it.
This commit is contained in:
Thomas Haller
2015-06-23 17:00:24 +02:00
parent e7f3ccf7cd
commit 85bf9ded2e
4 changed files with 6 additions and 6 deletions

View File

@@ -597,7 +597,7 @@ _nm_ip_config_source_to_rtprot (NMIPConfigSource source)
case NM_IP_CONFIG_SOURCE_UNKNOWN:
return RTPROT_UNSPEC;
case NM_IP_CONFIG_SOURCE_KERNEL:
case _NM_IP_CONFIG_SOURCE_RTPROT_KERNEL:
case NM_IP_CONFIG_SOURCE_RTPROT_KERNEL:
return RTPROT_KERNEL;
case NM_IP_CONFIG_SOURCE_DHCP:
return RTPROT_DHCP;
@@ -616,7 +616,7 @@ _nm_ip_config_source_from_rtprot (guint rtprot)
case RTPROT_UNSPEC:
return NM_IP_CONFIG_SOURCE_UNKNOWN;
case RTPROT_KERNEL:
return _NM_IP_CONFIG_SOURCE_RTPROT_KERNEL;
return NM_IP_CONFIG_SOURCE_RTPROT_KERNEL;
case RTPROT_REDIRECT:
return NM_IP_CONFIG_SOURCE_KERNEL;
case RTPROT_RA: