diff options
Diffstat (limited to 'libnm-util/nm-setting-ip4-config.h')
-rw-r--r-- | libnm-util/nm-setting-ip4-config.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libnm-util/nm-setting-ip4-config.h b/libnm-util/nm-setting-ip4-config.h index ec73d869d3..340662d12b 100644 --- a/libnm-util/nm-setting-ip4-config.h +++ b/libnm-util/nm-setting-ip4-config.h @@ -45,16 +45,16 @@ GQuark nm_setting_ip4_config_error_quark (void); #define NM_SETTING_IP4_CONFIG_METHOD_SHARED "shared" typedef struct { - guint32 address; - guint32 netmask; - guint32 gateway; + guint32 address; /* network byte order */ + guint32 prefix; + guint32 gateway; /* network byte order */ } NMSettingIP4Address; typedef struct { NMSetting parent; char *method; - GArray *dns; /* array of guint32 */ + GArray *dns; /* array of guint32; elements in network byte order */ GSList *dns_search; /* list of strings */ GSList *addresses; /* array of NMSettingIP4Address */ GSList *routes; /* array of NMSettingIP4Address */ |