| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| |
| |
| |
| |
| |
| | |
After 1.10.0 is released, merge it back into master so that
1.10.0 is part of the history of master. That means,
$ git log --first-parent master
will also traverse 1.10.0 and 1.10-rc*.
Also bump the micro version to 1.11.1-dev to indicate that this is
after 1.10.0 is out.
|
| |
| |
| |
| | |
https://bugzilla.gnome.org/show_bug.cgi?id=790215
|
| |\
| | |
| | |
| | | |
https://bugzilla.redhat.com/show_bug.cgi?id=1428334
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Kernel doesn't support it for IPv6.
This is especially useful, if you combine static routes
with DHCP. In that case, you might want to get the device-route
to the gateway automatically, but add a static-route for it.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The "onlink" flag for IPv4 routes is part of the route ID.
Consider it in nm_platform_ip4_route_cmp().
Also, allow configuring the flag when adding a route.
Note that for IPv6, the onlink flag is still ignored.
Pretty much like kernel does.
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
A cast macro, that does some static type checking (of the pointer).
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
There is still a fallback detection in "shared/nm-utils/nm-macros-internal.h",
so that VPN-plugins and applet don't need to bother about adding these
configure checks.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The _NM_GET_PRIVATE() macro already preserved and propagated
the constness of @self to the resulting private pointer.
_NM_GET_PRIVATE_PTR() didn't do that. Extend the macro,
to make that possible.
|
| |/ |
|
| |
| |
| |
| |
| |
| | |
Fixes: 4dd30b784c53e9b61b6e3a2b2e135f589747fc06
https://bugzilla.gnome.org/show_bug.cgi?id=790222
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Fix the following warning:
src/devices/nm-device.c: In function ‘activation_source_schedule’:
src/devices/nm-device.c:4995:9: error: ‘source_func’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
new_id = g_idle_add (source_func, self);
~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
| |\
| | |
| | |
| | | |
Fixes for oFono support.
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
This was broken with the routing-rework. We need to determine
the ifindex on which the configuration applies.
|
| | |
| | |
| | |
| | | |
context_property_changed()
|
| |/ |
|
| |
| |
| |
| |
| |
| |
| | |
Not "Since 1.12" but "Since: 1.12".
Fixes: 9715969b77300f47478b58482375dcd07dba1e85
Fixes: 1c99d379eb7ef1947beb4176a9611e404d1b220f
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
Don't necessarily fail the entire connection if a duplicate IPv4
address is detected, but instead look at the may-fail property and at
the outcome of IPv6.
https://bugzilla.redhat.com/show_bug.cgi?id=1508001
|
| |\
| | |
| | |
| | | |
https://bugzilla.redhat.com/show_bug.cgi?id=1398925
|
| | |
| | |
| | |
| | | |
Rework a bit the way default values are check, set and aligned.
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
Ensure .config is aligned when an explicit team-port is set and vice
versa
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
Ensure .config is aligned when an explicit team property is set and vice versa.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
Add functions and structure to simplify json config and team property
enforcement. These will be used in both NMSettingTeam and
NMSettingTeamPort.
|
| | | |
|
| |/
| |
| |
| |
| | |
Released in jansson version 2.7, added for compatibility with older
jannson verions.
|
| |\ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- nm-ovsdb.c uses json_load_callback(), which is jansson v2.4.
Hence, it cannot build the OVS plugin in our Travis-CI, which is
still on Ubuntu Precise. Disable building the plugin in travis and
add a compiler warning when building against an older version.
- since jansson v2.3, there is json_object_key_to_iter() to implement
the for-each macros. Use it in json_object_foreach_safe() when
available.
|
| | | |
|
| |/ |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
We need to pass more alias-types. Instead of having numbered
versions, use variadic number of macro arguments.
Also, fix build failure with old compiler:
In file included from src/nm-ip6-config.c:24:
./src/nm-ip6-config.h:44:29: error: controlling expression type 'typeof (ipconf_iter->current->obj)' (aka 'const void *const') not compatible with any generic association type
*out_address = has_next ? NMP_OBJECT_CAST_IP6_ADDRESS (ipconf_iter->current->obj) : NULL;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Fixes: b1810d7a68d188aa8f36a0e23a7be705a742b1aa
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
_NM_GET_PRIVATE() used typeof() to propagate constness of the @self
pointer. However, that means, it could only be used with a self pointer
of the exact type. That means, you explicitly had to cast from (GObject *)
or from (void *).
The requirement is cumbersome, and often led us to either create @self
pointer we didn't need:
NMDeviceVlan *self = NM_DEVICE_VLAN (device);
NMDeviceVlanPrivate *priv = NM_DEVICE_VLAN_GET_PRIVATE (self);
or casting:
NMDeviceVlanPrivate *priv = NM_DEVICE_VLAN_GET_PRIVATE ((NMDevice *) device);
In both cases we forcefully cast the source variable, loosing help from
the compiler to detect a bug.
For "nm-linux-platform.c", instead we commonly have a pointer of type
NMPlatform. Hence, we always forcefully cast the type via _NM_GET_PRIVATE_VOID().
Rework the macro to use _Generic(). If compiler supports _Generic(), then we
will get all compile time checks as desired. If the compiler doesn't support
_Generic(), it will still work. You don't get the compile-time checking of course,
but you'd notice that something is wrong once you build with a suitable
compiler.
|
| |\
| | |
| | |
| | |
| | |
| | | |
Add support for checkpoint/rollback functionality to libnm.
https://bugzilla.redhat.com/show_bug.cgi?id=1496739
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
Checkpoints will be exported over D-Bus and they must be presented in
a predictable order. Keep them in a list ordered by creation time.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Don't include unrealized devices in checkpoint because, as the name
says, they are not real.
While at it, remove nm_manager_get_device_paths() as it is no longer
used.
|
| | | |
|