chiark / gitweb /
networkd: network - rename ipv6token parser
authorTom Gundersen <teg@jklm.no>
Fri, 13 Feb 2015 23:32:56 +0000 (00:32 +0100)
committerTom Gundersen <teg@jklm.no>
Fri, 13 Feb 2015 23:32:56 +0000 (00:32 +0100)
Too generic name.

src/network/networkd-network-gperf.gperf
src/network/networkd-network.c
src/network/networkd.h

index 2aa30a2..fc277df 100644 (file)
@@ -38,7 +38,7 @@ Network.DHCP,                config_parse_dhcp,                  0,
 Network.DHCPServer,          config_parse_bool,                  0,                             offsetof(Network, dhcp_server)
 Network.LinkLocalAddressing, config_parse_address_family_boolean,0,                             offsetof(Network, link_local)
 Network.IPv4LLRoute,         config_parse_bool,                  0,                             offsetof(Network, ipv4ll_route)
-Network.IPv6Token,           config_parse_token,                 0,                             offsetof(Network, ipv6_token)
+Network.IPv6Token,           config_parse_ipv6token,             0,                             offsetof(Network, ipv6_token)
 Network.LLDP,                config_parse_bool,                  0,                             offsetof(Network, lldp)
 Network.Address,             config_parse_address,               0,                             0
 Network.Gateway,             config_parse_gateway,               0,                             0
index c90f730..35ac064 100644 (file)
@@ -651,7 +651,7 @@ int config_parse_llmnr(
         return 0;
 }
 
-int config_parse_token(
+int config_parse_ipv6token(
                 const char* unit,
                 const char *filename,
                 unsigned line,
index 7f1f06c..bdb2f20 100644 (file)
@@ -411,9 +411,9 @@ int config_parse_ipv4ll(const char *unit, const char *filename, unsigned line,
                         int ltype, const char *rvalue, void *data, void *userdata);
 
 /* IPv6 support */
-int config_parse_token(const char *unit, const char *filename, unsigned line,
-                       const char *section, unsigned section_line, const char *lvalue,
-                       int ltype, const char *rvalue, void *data, void *userdata);
+int config_parse_ipv6token(const char *unit, const char *filename, unsigned line,
+                           const char *section, unsigned section_line, const char *lvalue,
+                           int ltype, const char *rvalue, void *data, void *userdata);
 
 /* LLMNR support */