--VV4b6MQE+OnNyhkM
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
I just added MAC File support to CVS. Now in the Setup Networking Panel you
can Load a file of MAC addresses. The file format is one MAC per line.=20
Comments are allowed in the file as well (lines starting with #). The MAC
addresses will be added to the panel in the same order they were in the
file.
While I was at it I also added a "Save to File" button. I figured that
during testing this would probably be valuable. It will save all the MACs
collected (the ones assigned and unassigned) to a file of a format
compatible for load.
The load/save code has been tested, and works fine for me on Mandrake 8.2.
While I was at it I also made a code optimization, as ifconfig was being
called every time a mac was added to see if it matched the server mac
addresses. This is now called once when the window is opened (figuring that
you won't change MAC addresses on your server while the window is open).
Hope everyone enjoys!
-Sean
--=20
_______________________________________________________________________
=09
Sean Dague [EMAIL PROTECTED] http://dague.net
There is no silver bullet. Plus, werewolves make better neighbors than
zombies, and they tend to keep the vampire population down.
_______________________________________________________________________
--VV4b6MQE+OnNyhkM
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE+LbfLSamXem9TdyYRAo1XAJ0TXzkJE2KMINsbkWxPQoB0a04kcwCcCAv5
ZTrlBErEiNeXED97pW/eQN0=
=/HWx
-----END PGP SIGNATURE-----
--VV4b6MQE+OnNyhkM--
-------------------------------------------------------
This SF.net email is sponsored by: Scholarships for Techies!
Can't afford IT training? All 2003 ictp students receive scholarships.
Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more.
www.ictp.com/training/sourceforge.asp
_______________________________________________
Oscar-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/oscar-devel