]> git.ozlabs.org Git - ppp.git/blobdiff - pppd/plugins/radius/dict.c
Removing dead code per review by James Carlson
[ppp.git] / pppd / plugins / radius / dict.c
index 72b3e708cb20718c897d3d3bc1cfd377a15c6071..6f2657d719ae4a3806c7e67eb85207640b171050 100644 (file)
@@ -150,7 +150,7 @@ int rc_read_dictionary (char *filename)
                        {
                                type = PW_TYPE_INTEGER;
                        }
-                       else if (strcmp (typestr, "ipaddr") == 0)
+                       else if (strcmp (typestr, "ipaddr") == 0 || strcmp (typestr, "ipv4addr") == 0)
                        {
                                type = PW_TYPE_IPADDR;
                        }
@@ -158,6 +158,18 @@ int rc_read_dictionary (char *filename)
                        {
                                type = PW_TYPE_DATE;
                        }
+                       else if (strcmp (typestr, "ifid") == 0)
+                       {
+                               type = PW_TYPE_IFID;
+                       }
+                       else if (strcmp (typestr, "ipv6addr") == 0)
+                       {
+                               type = PW_TYPE_IPV6ADDR;
+                       }
+                       else if (strcmp (typestr, "ipv6prefix") == 0)
+                       {
+                               type = PW_TYPE_IPV6PREFIX;
+                       }
                        else
                        {
                                error("rc_read_dictionary: invalid type on line %d of dictionary %s",