Provide a "hexhyp" setting type, which functions identically to the "hex" setting type except that it uses a hyphen instead of a colon as the byte delimiter. For example, if ${mac} expands to "52:54:00:12:34:56", then ${mac:hexhyp} will expand to "52-54-00-12-34-56". Originally-implemented-by: Jarrod Johnson <jarrod.b.johnson@gmail.com> Signed-off-by: Michael Brown <mcb30@ipxe.org>tags/v1.20.1
|
|
||
1312 |
|
1312 |
|
1313 |
|
1313 |
|
1314 |
|
1314 |
|
|
1315 |
|
|
1315 |
|
1316 |
|
1316 |
|
1317 |
|
1317 |
|
1318 |
|
|
|
||
1327 |
|
1328 |
|
1328 |
|
1329 |
|
1329 |
|
1330 |
|
|
1331 |
|
|
1330 |
|
1332 |
|
1331 |
|
1333 |
|
1332 |
|
1334 |
|
1333 |
|
|
|
|
1335 |
|
|
1334 |
|
1336 |
|
1335 |
|
1337 |
|
1336 |
|
1338 |
|
|
|
||
1353 |
|
1355 |
|
1354 |
|
1356 |
|
1355 |
|
1357 |
|
1356 |
|
|
|
|
1358 |
|
|
1357 |
|
1359 |
|
1358 |
|
1360 |
|
1359 |
|
1361 |
|
1360 |
|
1362 |
|
1361 |
|
1363 |
|
1362 |
|
1364 |
|
1363 |
|
|
|
|
1365 |
|
|
|
1366 |
|
|
|
1367 |
|
|
|
1368 |
|
|
|
1369 |
|
|
|
1370 |
|
|
|
1371 |
|
|
|
1372 |
|
|
|
1373 |
|
|
|
1374 |
|
|
|
1375 |
|
|
|
1376 |
|
|
|
1377 |
|
|
|
1378 |
|
|
|
1379 |
|
|
|
1380 |
|
|
|
1381 |
|
|
|
1382 |
|
|
|
1383 |
|
|
|
1384 |
|
|
|
1385 |
|
|
|
1386 |
|
|
|
1387 |
|
|
|
1388 |
|
|
|
1389 |
|
|
|
1390 |
|
|
|
1391 |
|
|
|
1392 |
|
|
|
1393 |
|
|
|
1394 |
|
|
|
1395 |
|
|
1364 |
|
1396 |
|
1365 |
|
1397 |
|
1366 |
|
1398 |
|
1367 |
|
|
|
|
1399 |
|
|
|
1400 |
|
|
|
1401 |
|
|
|
1402 |
|
|
|
1403 |
|
|
|
1404 |
|
|
|
1405 |
|
|
|
1406 |
|
|
1368 |
|
1407 |
|
1369 |
|
1408 |
|
1370 |
|
1409 |
|