Extra char for \0 on if_name
parent
18e253fc22
commit
bc8b2eee51
|
@ -29,7 +29,7 @@
|
||||||
#define UP_UPDATE_INTERVAL 20
|
#define UP_UPDATE_INTERVAL 20
|
||||||
#define IP_UPDATE_INTERVAL 20
|
#define IP_UPDATE_INTERVAL 20
|
||||||
#define IP_ADDRESS_LENGTH 64
|
#define IP_ADDRESS_LENGTH 64
|
||||||
#define INTERFACE_NAME_LENGTH 32
|
#define INTERFACE_NAME_LENGTH 33
|
||||||
|
|
||||||
#ifndef gettext_noop
|
#ifndef gettext_noop
|
||||||
#define gettext_noop(String) String
|
#define gettext_noop(String) String
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
#define _SLURM_H_
|
#define _SLURM_H_
|
||||||
|
|
||||||
typedef struct IfData{
|
typedef struct IfData{
|
||||||
char if_name[32]; /* The device name given as start parameter*/
|
char if_name[33]; /* The device name given as start parameter*/
|
||||||
int if_speed; /* The Interface speed */
|
int if_speed; /* The Interface speed */
|
||||||
char if_speedstring[12]; /* the measuring unit like Mbit, kbit */
|
char if_speedstring[12]; /* the measuring unit like Mbit, kbit */
|
||||||
int if_id; /* The ID which the interface inside the OS has */
|
int if_id; /* The ID which the interface inside the OS has */
|
||||||
|
|
Loading…
Reference in New Issue