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:
15
ChangeLog
15
ChangeLog
@@ -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>
|
2004-10-14 Dan Williams <dcbw@redhat.com>
|
||||||
|
|
||||||
* Tagged NetworkManager-0_3
|
* Tagged NetworkManager-0_3
|
||||||
|
@@ -30,6 +30,7 @@
|
|||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
|
#include <sys/types.h>
|
||||||
|
|
||||||
#include "NetworkManager.h"
|
#include "NetworkManager.h"
|
||||||
#include "NetworkManagerUtils.h"
|
#include "NetworkManagerUtils.h"
|
||||||
@@ -553,6 +554,12 @@ int main( int argc, char *argv[] )
|
|||||||
gboolean enable_test_devices = FALSE;
|
gboolean enable_test_devices = FALSE;
|
||||||
GMainLoop *loop = NULL;
|
GMainLoop *loop = NULL;
|
||||||
|
|
||||||
|
if ((int)getuid() != 0)
|
||||||
|
{
|
||||||
|
printf( "You must be root to run NetworkManager!\n");
|
||||||
|
return (EXIT_FAILURE);
|
||||||
|
}
|
||||||
|
|
||||||
/* Parse options */
|
/* Parse options */
|
||||||
while (1)
|
while (1)
|
||||||
{
|
{
|
||||||
|
@@ -1144,7 +1144,7 @@ void nm_device_set_mode_adhoc (NMDevice *dev)
|
|||||||
g_return_if_fail (dev != NULL);
|
g_return_if_fail (dev != NULL);
|
||||||
g_return_if_fail (nm_device_is_wireless (dev));
|
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 ();
|
sk = iw_sockets_open ();
|
||||||
if (sk >= 0)
|
if (sk >= 0)
|
||||||
{
|
{
|
||||||
|
@@ -249,15 +249,3 @@ void nm_system_load_device_modules (void)
|
|||||||
return;
|
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)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
Reference in New Issue
Block a user