Commit Graph

21088 Commits

Author SHA1 Message Date
Dan Williams
d46b75da9e 2007-12-05 Dan Williams <dcbw@redhat.com>
* properties/nm-vpnc.c
		- (impl_get_widget): be more robust about bad connections



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3138 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-12-05 17:37:02 +00:00
Tambet Ingo
cb1277c955 2007-12-05 Tambet Ingo <tambet@gmail.com>
* src/nm-umts-device.c (dial_done): Fix the typoes in warnings.
        (get_network_done): Remove newline, nm_info() does it already.
        (real_act_stage1_prepare): Turn the modem echo off.

        * src/NetworkManagerSystem.c
        * (nm_system_device_set_from_ip4_config): In case of serial
        device, set the route to the device interface. This is a hack.

        * src/nm-serial-device.c (nm_serial_device_send_command_string):
        * Only append carriage 
        return, no need for a new-line.
        (ppp_ip4_config): Store the ip4 config to be set in the next
stage.
        Change the device iface here (ugh).
        (real_act_stage4_get_ip4_config): Implement.
        (real_deactivate_quickly): Free the pending ip4 config if it's
still pending.
        Restore the device iface.

        * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Do
        * nothing if the active
        device is not wired or wireless (eg, automatically upped)
device.

        * src/ppp-manager/nm-ppp-manager.c (ip4_config_get): Don't make
        * the config secondary,
        it isn't.
        (nm_ppp_manager_start): Don't let pppd to set the default route,
we want to do it.

        * src/nm-hal-manager.c (get_creator): Make sure the device has
        * required capability
        before calling it's is_device_fn().



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3137 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-12-05 17:33:55 +00:00
Dan Williams
5ec181c20e 2007-12-05 Dan Williams <dcbw@redhat.com>
* libnm-util/nm-utils.c
		- (nm_utils_register_value_transformations,
		   nm_utils_convert_gvalue_hash_to_string): better debug output of
			GHashTables of GValues too



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3136 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-12-05 16:41:09 +00:00
Dan Williams
7155a6825e (impl_fill_connection): fail less often when stuff breaks
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3135 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-12-05 16:40:15 +00:00
Dan Williams
761a059d78 64-bit compile warning/error fixups
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3134 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-12-04 21:44:40 +00:00
Dan Williams
91126e546c 2007-12-04 Dan Williams <dcbw@redhat.com>
* initscript/RedHat/NetworkManager.in
		- No longer start named; it's D-Bus interface is going away



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3133 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-12-04 19:36:34 +00:00
Dan Williams
af8ce7e7b6 Turn more warnings on by default; use --disable-more-warnings to turn them off
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3132 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-12-04 19:21:58 +00:00
Dan Williams
f56f5ef9f4 2007-12-04 Dan Williams <dcbw@redhat.com>
Patch from Michael Biebl <biebl@debian.org>

	* system-settings/plugins/ifcfg/Makefile.am
	  system-settings/src/main.c
	  system-settings/src/Makefile.am
		- Put system settings plugins in NM plugins dir

	* src/ppp-manager/Makefile.am
	  src/ppp-manager/nm-ppp-manager.c
		- Move pppd plugin to NM plugins dir



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3131 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-12-04 16:17:57 +00:00
Dan Williams
219c552de8 Add missing file to POTFILES.in
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3130 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-12-04 16:11:21 +00:00
Dan Williams
6fdff4f687 2007-12-04 Dan Williams <dcbw@redhat.com>
* libnm-util/nm-setting-vpn-properties.h
		- Clarify usage of the 'data' member of the setting

	* libnm-util/nm-setting-vpn-properties.c
		- (nm_setting_vpn_properties_init): initialize the 'data' hash table
		- (set_property): just remove all the settings; don't recreate the has
		- (update_one_secret): don't need to create the hash table here since
			it should always be present



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3129 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-12-04 16:09:05 +00:00
Tambet Ingo
185329bc1a 2007-12-03 Tambet Ingo <tambet@gmail.com>
Implement PIN and PUK requesting.

        * src/nm-umts-device.c (enter_pin_done): Request the secret
        * again if it failed.
        (enter_pin): Handle PIN and PUK requests.
        (real_act_stage1_prepare): Clear the secret type.
        (real_connection_secrets_updated): Implement this class method
to get
        notified when new secrets arrive.
        (nm_umts_device_class_init): Add private data back to the umts
device class
        to store the required secret type.



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3128 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-12-03 14:17:02 +00:00
Jovan Naumovski
d6a040c372 2007-12-03 Jovan Naumovski <jovanna@svn.gnome.org> *mk.po: Updated Macedonian translation.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3127 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-12-03 12:26:39 +00:00
Jovan Naumovski
a444adc8cd 2007-12-03 Jovan Naumovski <jovanna@svn.gnome.org> *mk.po: Updated Macedonian translation.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3126 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-12-03 12:24:41 +00:00
Changwoo Ryu
3ec6236160 Added 'ko' to LINGUAS. Bug #501020.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3125 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-12-03 05:05:49 +00:00
Dan Williams
8be9677211 2007-12-01 Dan Williams <dcbw@redhat.com>
* system-settings/plugins/ifcfg/parser.c
		- (parser_parse_file): don't try to verify NULL connections



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3121 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-12-01 17:24:57 +00:00
Dan Williams
bb8bde197e 2007-12-01 Dan Williams <dcbw@redhat.com>
* system-settings/src/main.c
		- (load_connections, add_connection_to_settings): actually export
			plugin-provided connections over D-Bus so NM can get them



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3120 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-12-01 17:24:13 +00:00
Dan Williams
98df3d3558 2007-12-01 Dan Williams <dcbw@redhat.com>
* system-settings/plugins/ifcfg/parser.c
	  system-settings/plugins/ifcfg/parser.h
	  system-settings/plugins/ifcfg/plugin.c
		- Hook up more inotify bits (untested)



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3119 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-12-01 16:00:17 +00:00
Dan Williams
084196ff43 Warning cleanups
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3118 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-11-29 14:51:01 +00:00
Dan Williams
89a39c7328 2007-11-29 Dan Williams <dcbw@redhat.com>
* system-settings/src/nm-system-config-interface.h
	  system-settings/src/nm-system-config-interface.c
		- (nm_system_config_interface_init,
		   nm_system_config_interface_get_connections): add

	* system-settings/src/main.c
		- (load_plugins, load_connections, main): use a GSList for plugins
			to ensure priority ordering

	* system-settings/plugins/ifcfg/parser.c
		- (ifcfg_error_quark): move to plugin.c, and rename

	* system-settings/plugins/ifcfg/plugin.h
	  system-settings/plugins/ifcfg/plugin.c
		- (ifcfg_plugin_error_quark): move here from parser.c
		- rework connection loading and initialization
		- Add preliminary inotify support for network profile config file



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3117 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-11-29 14:40:24 +00:00
Tambet Ingo
db5a10dc4d 2007-11-28 Tambet Ingo <tambet@gmail.com>
Merge the beginnings of the new GSM card support.

        * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_stop): Remove
        * the
        ppp watch source before killing pppd - If this happens from
g_object_unref()
        then the ppp manager is already destroyed by the time the watch
callback runs.

        * src/nm-hal-manager.c: Add a device_type_name string to the
        * device
        creators, so that we can print a nice human readable string when
a
        device is added.

        * src/nm-umts-device.c (automatic_registration_get_network):
        * Query
        for the activated network, not much is done with the result
thought.

        * src/nm-serial-device.c (nm_serial_device_get_reply):
        * Implement.
        (ppp_ip4_config): Change the device state to activated here for
now.
        (real_check_connection): Make sure the connection includes ppp
setting.

        * libnm-glib/nm-client.c (get_device): Handle umts devices.

        * libnm-glib/Makefile.am: Add the new files to build.

        * libnm-glib/nm-umts-device.c: 
        * libnm-glib/nm-umts-device.h: Implement.

2007-11-26  Tambet Ingo  <tambet@gmail.com>

        * src/nm-umts-device.c (automatic_registration_get_network): For
        * now, dial
        immediately, nm_serial_device_get_reply() isn't implemented
correctly yet.

        * src/nm-serial-device.c (wait_for_reply_info_destroy): Don't
        * try to remove
        the timeout source - this function is only called when the
timeout source has
        been removed.
        (nm_serial_device_wait_for_reply): Allocate the duplicate
responses array
        to be big enough to contain the terminating zero element as
well.
        The timeout argument is meant to be in seconds now.
        (real_deactivate_quickly): Implement.

        * src/NetworkManager.conf: Allow root to own 
        "org.freedesktop.NetworkManager.PPP", deny it for everybody
else.

        * libnm-util/nm-setting-umts.c: Network type and band properties
        * are ints,
        (not unsigned ints).

        * libnm-util/nm-setting-serial.c (nm_setting_serial_class_init):
        * Fix a 
        small issue with parity bounds - capital letters have lower
ascii codes
        than lower case letters.

        * libnm-util/nm-connection.c (register_default_settings):
        * Register serial
        and umts settings.

2007-11-22  Tambet Ingo  <tambet@gmail.com>

        Remove the "index" property from devices as not all device types
have this.

        * include/NetworkManager.h (NM_DBUS_PATH_DEVICE): Remove.

        * src/nm-hal-manager.c (nm_get_device_index_from_hal): Remove.
        (wired_device_creator): Get the device interface from hal to
create the device.
        (wireless_device_creator): Ditto.

        * src/nm-device.c (nm_device_init): Remove the index member.
        (constructor): Remove the checks for index property, make
interface property
        a require constructor property.
        Use the HAL udi for DBus path for devices.
        (nm_device_get_index): Remove.
        (set_property): Remove index handling.
        (get_property): Ditto.
        (nm_device_get_dbus_path): Remove.

        * src/nm-device-interface.c (nm_device_interface_init): Remove
        * the index
        property.

        * src/nm-device-802-3-ethernet.c
        * (nm_device_802_3_ethernet_link_activated):
        Access the device index through it's interface.
        (nm_device_802_3_ethernet_link_deactivated): Ditto.
        (nm_device_802_3_ethernet_new): Remove the useless argument
test_dev. Remove
        index argument. Add interface argument.

        * src/nm-device-802-11-wireless.c
        * (nm_device_802_11_wireless_new): Remove
        the useless test_dev argument. Remove index argument. Add
interface arugment.

        * src/NetworkManagerSystem.c
        * (nm_system_device_set_from_ip4_config): Get the
        device index through interface.
        (nm_system_set_mtu): Ditto.

        * introspection/nm-device.xml: Remove the "Index" property.

2007-11-21  Tambet Ingo  <tambet@gmail.com>

        * src/nm-serial-device.c: 
        * src/nm-serial-device.c: 
        * src/nm-umts-device.c:
        * src/nm-umts-device.h: Implement.

        * src/nm-hal-manager.c (nm_get_device_driver_name):
        * libhal_free_string the string 
        allocated by libhal.
        (modem_device_creator): Implement.
        (register_built_in_creators): Register the modem creator.

        * src/nm-device-802-11-wireless.c
        * (nm_device_802_11_wireless_new): 
        Remove the unused test_dev argument.

        * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_new):
        * Ditto.

        * src/Makefile.am: Add new files to build.
        Link in ppp-manager.

        * libnm-util/nm-setting-umts.c: 
        * libnm-util/nm-setting-umts.h: 
        * libnm-util/nm-setting-serial.c: 
        * libnm-util/nm-setting-serial.h: Implement.

        * libnm-util/Makefile.am: Add new files to build.



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3116 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-11-29 14:38:07 +00:00
Dan Williams
f5fb016271 2007-11-28 Dan Williams <dcbw@redhat.com>
Patch from Zdeněk Jurka <zdenek.jurka@jware.cz>

	Support DHCP-provided static routes.

	* src/nm-ip4-config.h
	  src/nm-ip4-config.c
		- Add get/set functions for static routes

	* src/dhcp-manager/nm-dhcp-manager.c
		- (nm_dhcp_manager_get_ip4_config): extract static routes from the
			DHCP response

	* src/NetworkManagerSystem.c
		- (nm_system_device_set_from_ip4_config): set any static routes on the
			interface when applying the IP4Config



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3115 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-11-28 22:38:33 +00:00
Dan Williams
9695c380fd 2007-11-28 Dan Williams <dcbw@redhat.com>
* src/nm-device-802-11-wireless.c
		- (real_act_stage1_prepare): mark APs created for hidden networks
			as non-broadcasting



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3114 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-11-28 20:25:31 +00:00
Dan Williams
f68d9309e2 2007-11-27 Dan Williams <dcbw@redhat.com>
* system-settings/src/nm-system-config-interface.h
		- Note how to store secrets on NMSetting objects

	* system-settings/src/dbus-settings.c
		- (connection_settings_get_secrets): implement



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3113 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-11-27 22:20:19 +00:00
Dan Williams
9e53dc83b0 2007-11-27 Dan Williams <dcbw@redhat.com>
* system-settings/plugins/ifcfg/Makefile.am
	  system-settings/plugins/ifcfg/parser.c
	  system-settings/plugins/ifcfg/parser.h
	  system-settings/plugins/ifcfg/plugin.c
		- Parse wireless connections too

	* system-settings/src/dbus-settings.c
	  system-settings/src/dbus-settings.h
	  system-settings/src/main.c
		- Handle connection update/removal if the plugin supports it



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3112 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-11-27 19:25:46 +00:00
Dan Williams
7f21476233 2007-11-27 Dan Williams <dcbw@redhat.com>
* src/nm-dbus-manager.h
	  src/nm-hal-manager.c
		- Include the correct headers now that NetworkManagerDbusUtils.h doesn't
			do it for them

	* src/Makefile.am
	  src/NetworkManagerDbusUtils.c
	  src/NetworkManagerDbusUtils.h
		- Remove these two source files; they are unused



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3111 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-11-27 17:18:41 +00:00
Dan Williams
bfb5fc0dc9 2007-11-27 Dan Williams <dcbw@redhat.com>
* src/vpn-manager/nm-vpn-manager.c
		- (impl_vpn_manager_connect): fix system settings check (found by
			James M. Leddy)



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3110 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-11-27 16:27:20 +00:00
Dan Williams
b3684dfc1b Add plugin.h to makefile
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3109 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-11-26 17:12:15 +00:00
Dan Williams
6076621fd0 2007-11-26 Dan Williams <dcbw@redhat.com>
* Fix warnings so everything compiles with --enable-more-warnings



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3108 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-11-26 16:59:47 +00:00
Dan Williams
9bcfe25991 Fix default Gentoo MDNS provider
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3107 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-11-26 15:56:03 +00:00
Dan Williams
e18d04cf0f 2007-11-25 Dan Williams <dcbw@redhat.com>
* system-settings/*
		- Rework structure and code to use GModule-loaded plugins and a plugin
			interface that plugins export to the system settings service



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3106 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-11-26 03:47:30 +00:00
Tim Niemueller
7552cbbdb1 2007-11-23 Tim Niemueller <tim@niemueller.de>
* configure.in: raise version number to 0.7.0 to reflect the
        dependency on the new NM and to separate it from the 0.6 branch.



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3105 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-11-23 11:41:38 +00:00
Dan Williams
ac5206aa9c 2007-11-21 Dan Williams <dcbw@redhat.com>
* system-settings/*
		- Add Soren's system settings service.  Needs work for distros other
			than Fedora; the backends from NM should mostly migrate to here
			and be converted to GObjects



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3104 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-11-21 06:24:15 +00:00
Dan Williams
36650e4a24 Print out ap-scan value for easier debugging
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3103 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-11-21 05:57:54 +00:00
Dan Williams
f2b002c3de 2007-11-21 Dan Williams <dcbw@redhat.com>
* libnm-util/nm-setting-vpn-properties.c
		- (set_property): must deep-copy the given settings hash, otherwise
			double-free errors occur when the setting is disposed of



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3102 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-11-21 05:46:50 +00:00
Dan Williams
a2c202ed8d 2007-11-21 Dan Williams <dcbw@redhat.com>
* src/vpn-manager/nm-vpn-act-request.h
	  src/vpn-manager/nm-vpn-act-request.c
		- Remove; unused



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3101 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-11-21 05:23:44 +00:00
Dan Williams
af4dd78d6a 2007-11-20 Dan Williams <dcbw@redhat.com>
* libnm-util/nm-utils.c
		- (nm_utils_convert_strv_to_string, nm_utils_convert_uint_array_to_string,
		   nm_utils_convert_ip4_addr_struct_array_to_string,
		   nm_utils_register_value_transformations): print out the readable
			values of more types of properties of NMSettings subclasses



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3100 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-11-20 22:15:15 +00:00
Dan Williams
d99a3945a9 Fix valgrind warning
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3099 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-11-20 22:13:09 +00:00
Dan Williams
cb2af424de 2007-11-20 Dan Williams <dcbw@redhat.com>
* libnm-util/nm-setting-ip4-config.c
		- (ip4_addresses_from_gvalue, ip4_addresses_to_gvalue,
		   nm_setting_ip4_config_class_init): apparently dbus-glib can't
			marshal GValueArrays inside collections, so switch to types that it
			can actually marshal/demarshal



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3098 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-11-20 20:48:18 +00:00
Yannig Marchegay
ae55c1df8f Updated Occitan translation
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3097 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-11-20 17:26:50 +00:00
Dan Williams
954b5569a8 2007-11-16 Dan Williams <dcbw@redhat.com>
* libnm-util/nm-setting-wireless-security.c
		- (verify_tls, verify_ttls, verify_identity, verify_nai): do some
			minimal verification of EAP methods too
		- (verify): verify phase1 eap methods too



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3096 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-11-19 18:13:48 +00:00
Dan Williams
75db31664e Warning fixups
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3095 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-11-15 21:45:04 +00:00
Dan Williams
f7ebfe5640 2007-11-15 Dan Williams <dcbw@redhat.com>
* properties/nm-vpnc.c
		- Fixup for NMSettingConnection 'name' -> 'id' changes



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3094 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-11-15 21:31:22 +00:00
Dan Williams
3408252251 2007-11-15 Dan Williams <dcbw@redhat.com>
* properties/nm-vpnc.c
		- Fixup for NMSettingConnection 'name' -> 'id' changes



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3093 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-11-15 21:29:54 +00:00
Dan Williams
441a7ad8fc 2007-11-15 Dan Williams <dcbw@redhat.com>
* libnm-glib/nm-device.h
	  libnm-glib/nm-device.c
		- (nm_device_get_product, nm_device_get_vendor): should be returning
			const char *



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3092 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-11-15 21:24:50 +00:00
Dan Williams
da6ef40b95 2007-11-15 Dan Williams <dcbw@redhat.com>
* libnm-glib/nm-device.c
		- (get_product_and_vendor): don't try to free things that should be
			freed



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3091 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-11-15 21:13:14 +00:00
Dan Williams
13e564174d 2007-11-15 Dan Williams <dcbw@redhat.com>
* src/NetworkManagerUtils.c
		- (nm_ethernet_address_is_valid): unbreak previous fix



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3090 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-11-15 20:33:08 +00:00
Dan Williams
18240ce65d Cleanup; don't need to initialize it here
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3089 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-11-15 20:32:42 +00:00
Dan Williams
fa68b119c0 2007-11-15 Dan Williams <dcbw@redhat.com>
* src/supplicant-manager/nm-supplicant-config.c
		- (nm_supplicant_config_add_setting_wireless_security): handle PEAP
			options



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3088 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-11-15 20:25:19 +00:00
Dan Williams
a2a2fa44fe Fix valgrind reported errors reading past the end of the buffer
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3087 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-11-15 20:20:23 +00:00
Dan Williams
da4f9c0df2 2007-11-15 Dan Williams <dcbw@redhat.com>
* src/NetworkManagerUtils.c
		- (nm_ethernet_address_is_valid): fix style, clarify
		- (nm_ethernet_addresses_are_equal): don't try to memcmp NULLs

	* src/nm-device-802-11-wireless.c
		- (get_active_ap): handle failure from nm_device_802_11_wireless_get_bssid()
		- (nm_device_802_11_wireless_get_ssid,
		   nm_device_802_11_wireless_get_bssid,
		   nm_device_802_11_wireless_get_bitrate): zero the wreq structure
		   	before calling the ioctl; fixes valgrind-reported jump depends on
			uninitialized value errors



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3086 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-11-15 18:33:17 +00:00