2004-10-15 Dan Williams <dcbw@redhat.com>

---- We have a website ----
	http://people.redhat.com/dcbw/NetworkManager

	Patch from Robert Paskowitz:
	* src/NetworkManager.c
		- (main): Make sure we are run as root
	* src/NetworkManagerDevice.c
		- Fix type in ad-hoc setting function

	Patch from Thom May:
	* src/backends/NetworkManagerDebian.c
		- Make Debian backend compile again


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@243 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
Dan Williams 2004-10-15 15:59:25 +00:00
parent 3133cd9cd6
commit 267a0803f6
4 changed files with 23 additions and 13 deletions

View file

@ -1,3 +1,18 @@
2004-10-15 Dan Williams <dcbw@redhat.com>
---- We have a website ----
http://people.redhat.com/dcbw/NetworkManager
Patch from Robert Paskowitz:
* src/NetworkManager.c
- (main): Make sure we are run as root
* src/NetworkManagerDevice.c
- Fix type in ad-hoc setting function
Patch from Thom May:
* src/backends/NetworkManagerDebian.c
- Make Debian backend compile again
2004-10-14 Dan Williams <dcbw@redhat.com>
* Tagged NetworkManager-0_3

View file

@ -30,6 +30,7 @@
#include <unistd.h>
#include <fcntl.h>
#include <sys/stat.h>
#include <sys/types.h>
#include "NetworkManager.h"
#include "NetworkManagerUtils.h"
@ -552,6 +553,12 @@ int main( int argc, char *argv[] )
gboolean become_daemon = TRUE;
gboolean enable_test_devices = FALSE;
GMainLoop *loop = NULL;
if ((int)getuid() != 0)
{
printf( "You must be root to run NetworkManager!\n");
return (EXIT_FAILURE);
}
/* Parse options */
while (1)

View file

@ -1144,7 +1144,7 @@ void nm_device_set_mode_adhoc (NMDevice *dev)
g_return_if_fail (dev != NULL);
g_return_if_fail (nm_device_is_wireless (dev));
/* Force the card into Managed/Infrastructure mode */
/* Force the card into Adhoc mode */
sk = iw_sockets_open ();
if (sk >= 0)
{

View file

@ -249,15 +249,3 @@ void nm_system_load_device_modules (void)
return;
}
/*
* nm_system_device_update_config_info
*
* Retrieve any relevant configuration info for a particular device
* from the system network configuration information. Clear out existing
* info before setting stuff too.
*
*/
void nm_system_device_update_config_info (NMDevice *dev)
{
}