FR-GV-206 - decode option 60 (string) not 63 (octets)
[freeradius.git] / src / lib / dhcp.c
index d49e99b..6b52043 100644 (file)
@@ -820,7 +820,7 @@ int fr_dhcp_decode(RADIUS_PACKET *packet)
                        /*
                         *      Vendor is "MSFT 98"
                         */
-                       vp = pairfind(head, DHCP2ATTR(63));
+                       vp = pairfind(head, DHCP2ATTR(60));
                        if (vp && (strcmp(vp->vp_strvalue, "MSFT 98") == 0)) {
                                vp = pairfind(head, DHCP2ATTR(262));