Can you feel heavy metal???

This commit is contained in:
XANTRONIX Development 2015-07-25 00:33:45 -05:00 committed by XANTRONIX Industrial
parent b923ad3566
commit 0d40883e59
3 changed files with 7 additions and 3 deletions

View file

@ -8,6 +8,7 @@
enum patty_ax25_obj_type {
PATTY_AX25_OBJ_UNKNOWN,
PATTY_AX25_OBJ_IF,
PATTY_AX25_OBJ_PORT,
PATTY_AX25_OBJ_LINK
};

View file

@ -21,7 +21,8 @@ enum patty_ax25_if_type {
};
typedef struct _patty_ax25_if {
enum patty_ax25_if_type type;
enum patty_ax25_obj_type type;
enum patty_ax25_if_type type_if;
patty_ax25_stats stats;
char name[8];

View file

@ -21,7 +21,7 @@ static patty_ax25_if *create_tnc(const char *device) {
goto error_kiss_tnc_open;
}
iface->type = PATTY_AX25_IF_KISS_TNC_TTY;
iface->type_if = PATTY_AX25_IF_KISS_TNC_TTY;
snprintf(iface->name, sizeof(iface->name), "%s%d", prefix, number++);
@ -63,6 +63,8 @@ patty_ax25_if *patty_ax25_if_create(int opts, void *info) {
goto error;
}
iface->type = PATTY_AX25_OBJ_IF;
return iface;
error: