mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-08 12:28:11 +02:00
core: fix typo for parameter as "paramter"
(cherry picked from commit 19a78f8954)
This commit is contained in:
parent
878baf7b33
commit
dad2269fbd
4 changed files with 9 additions and 9 deletions
|
|
@ -7543,7 +7543,7 @@ _commit_mtu (NMDevice *self, const NMIP4Config *config)
|
||||||
gboolean anticipated_failure = FALSE;
|
gboolean anticipated_failure = FALSE;
|
||||||
|
|
||||||
if (!priv->mtu_initial && !priv->ip6_mtu_initial) {
|
if (!priv->mtu_initial && !priv->ip6_mtu_initial) {
|
||||||
/* before touching any of the MTU paramters, record the
|
/* before touching any of the MTU parameters, record the
|
||||||
* original setting to restore on deactivation. */
|
* original setting to restore on deactivation. */
|
||||||
priv->mtu_initial = mtu_plat;
|
priv->mtu_initial = mtu_plat;
|
||||||
priv->ip6_mtu_initial = _IP6_MTU_SYS ();
|
priv->ip6_mtu_initial = _IP6_MTU_SYS ();
|
||||||
|
|
|
||||||
|
|
@ -139,11 +139,11 @@ static void _ppp_kill (NMPPPManager *manager);
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
|
||||||
static void
|
static void
|
||||||
_ppp_manager_set_route_paramters (NMPPPManager *self,
|
_ppp_manager_set_route_parameters (NMPPPManager *self,
|
||||||
guint32 ip4_route_table,
|
guint32 ip4_route_table,
|
||||||
guint32 ip4_route_metric,
|
guint32 ip4_route_metric,
|
||||||
guint32 ip6_route_table,
|
guint32 ip6_route_table,
|
||||||
guint32 ip6_route_metric)
|
guint32 ip6_route_metric)
|
||||||
{
|
{
|
||||||
NMPPPManagerPrivate *priv;
|
NMPPPManagerPrivate *priv;
|
||||||
|
|
||||||
|
|
@ -1359,7 +1359,7 @@ nm_ppp_manager_class_init (NMPPPManagerClass *manager_class)
|
||||||
|
|
||||||
NMPPPOps ppp_ops = {
|
NMPPPOps ppp_ops = {
|
||||||
.create = _ppp_manager_new,
|
.create = _ppp_manager_new,
|
||||||
.set_route_parameters = _ppp_manager_set_route_paramters,
|
.set_route_parameters = _ppp_manager_set_route_parameters,
|
||||||
.start = _ppp_manager_start,
|
.start = _ppp_manager_start,
|
||||||
.stop_async = _ppp_manager_stop_async,
|
.stop_async = _ppp_manager_stop_async,
|
||||||
.stop_finish = _ppp_manager_stop_finish,
|
.stop_finish = _ppp_manager_stop_finish,
|
||||||
|
|
|
||||||
|
|
@ -558,7 +558,7 @@ enum {
|
||||||
PARSE_LINE_ATTR_ROUTE_VIA,
|
PARSE_LINE_ATTR_ROUTE_VIA,
|
||||||
PARSE_LINE_ATTR_ROUTE_METRIC,
|
PARSE_LINE_ATTR_ROUTE_METRIC,
|
||||||
|
|
||||||
/* iproute2 paramters that are well known and that we silently ignore. */
|
/* iproute2 parameters that are well known and that we silently ignore. */
|
||||||
PARSE_LINE_ATTR_ROUTE_DEV,
|
PARSE_LINE_ATTR_ROUTE_DEV,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -143,7 +143,7 @@ find_by_path (NMSKeyfilePlugin *self, const char *path)
|
||||||
* an existing connection with the same UUID.
|
* an existing connection with the same UUID.
|
||||||
* If %TRUE and @connection, allow updating only if the reload would modify
|
* If %TRUE and @connection, allow updating only if the reload would modify
|
||||||
* @connection (without changing its UUID) or if we would create a new connection.
|
* @connection (without changing its UUID) or if we would create a new connection.
|
||||||
* In other words, if this paramter is %TRUE, we only allow creating a
|
* In other words, if this parameter is %TRUE, we only allow creating a
|
||||||
* new connection (with an unseen UUID) or updating the passed in @connection
|
* new connection (with an unseen UUID) or updating the passed in @connection
|
||||||
* (whereas the UUID cannot change).
|
* (whereas the UUID cannot change).
|
||||||
* Note, that this allows for @connection to be replaced by a new connection.
|
* Note, that this allows for @connection to be replaced by a new connection.
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue