PUD: rename a function
authorFerry Huberts <f.huberts@mindef.nl>
Wed, 26 Oct 2011 12:03:25 +0000 (14:03 +0200)
committerFerry Huberts <ferry.huberts@pelagic.nl>
Tue, 14 Feb 2012 13:32:57 +0000 (14:32 +0100)
Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
lib/pud/src/configuration.c

index 92a94ab..0663731 100644 (file)
@@ -318,7 +318,7 @@ static bool setupNodeIdBinaryLongLong(unsigned long long min,
  Validate whether the configured nodeId is valid w.r.t. the configured
  nodeIdType, for types that are strings
  */
-static bool setupNodeIdNumberForOlsrCacheAndValidateString(void) {
+static bool setupNodeIdBinaryString(void) {
        bool invalidChars;
        char report[256];
 
@@ -355,7 +355,7 @@ static bool setupNodeIdBinaryAndValidate(NodeIdType nodeIdTypeNumber) {
                                PUD_NODEIDTYPE_TETRA_BYTES);
 
                case PUD_NODEIDTYPE_DNS: /* DNS name */
-                       return setupNodeIdNumberForOlsrCacheAndValidateString();
+                       return setupNodeIdBinaryString();
 
                case PUD_NODEIDTYPE_MMSI: /* an AIS MMSI number */
                        return setupNodeIdBinaryLongLong(0LL, 999999999LL,