]> git.ozlabs.org Git - ppp.git/blobdiff - pppd/plugins/radius/dict.c
plugins/radius: Add RFC8044 dictionary compatibility for IPv4 address (#291)
[ppp.git] / pppd / plugins / radius / dict.c
index 3b2add2ae4e7cbc7fe84b67b83a3722d4b8e6f73..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;
                        }