File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 11# CHANGELOG
22
3- * ** 2025.02.12 Current**
3+ * ** 2025.03.25 Current**
4+ * ` inifile.c ` : "Long" dotted-decimal netmasks style returned, so ` 255.255.0.0 ` and ` /16 ` both working
45 * ` inifile.c ` : ignore netmasks for ` target_host `
56 * ` inifile.c ` : correct ` /32 ` netmask for ` target_network `
67 * ` gui-warp.py ` /` gui-warp.py.in ` : 'Password hash' caption
Original file line number Diff line number Diff line change @@ -330,6 +330,12 @@ ini_section *read_ini(char *ifile_name) {
330330 mexit (1 , pfile_name , tfile_name );
331331 }
332332
333+ if (strchr (entry .val2 , '.' )) {
334+ /* Long netmask format, e.g.: 255.0.0.0 */
335+ c_targ -> ip2 = str2inet (entry .val2 , entry .mod2 );
336+ break ;
337+ }
338+
333339 int m = strtol (entry .val2 , NULL , 10 );
334340 /* Build IPv4 address netmask based on CIDR */
335341 if (m < 33 && m >= 0 ) {
You can’t perform that action at this time.
0 commit comments