[cs615asa] Can we assume ip address are always legal?

Yanqiao Zhan yzhan14 at stevens.edu
Sat Mar 14 23:02:30 EDT 2015


Hi friends,
Can we assume that the ip address, mac address and netmasks in "ifconfig
-a" output are always legal? In other word, we don't need to judge whether
an ip address is in 0.0.0.0~255.255.255.255 or not, but simply say the
address match the pattern {[0-9]{3}.}{3}(0-9){3} ? Though such pattern is
quite straightforward.

Thanks,
Yanqiao
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.stevens.edu/pipermail/cs615asa/attachments/20150314/fe076765/attachment.html>


More information about the cs615asa mailing list