From 9bcfdea7425021d5d050e3060ca5185be93c6c11 Mon Sep 17 00:00:00 2001 From: Paul Zanna Date: Tue, 11 Jun 2019 12:33:43 +1000 Subject: [PATCH] Version number change --- ZodiacFX/src/config/config_zodiac.h | 2 +- ZodiacFX/src/http.c | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ZodiacFX/src/config/config_zodiac.h b/ZodiacFX/src/config/config_zodiac.h index 3db9a9f..5c68505 100644 --- a/ZodiacFX/src/config/config_zodiac.h +++ b/ZodiacFX/src/config/config_zodiac.h @@ -31,7 +31,7 @@ #define CONFIG_ZODIAC_H_ -#define VERSION "0.85_A" // Firmware version number +#define VERSION "0.85" // Firmware version number #define TOTAL_PORTS 4 // Total number of physical ports on the Zodiac FX diff --git a/ZodiacFX/src/http.c b/ZodiacFX/src/http.c index cb24118..c9400a2 100644 --- a/ZodiacFX/src/http.c +++ b/ZodiacFX/src/http.c @@ -746,6 +746,9 @@ static err_t http_recv(void *arg, struct tcp_pcb *pcb, struct pbuf *p, err_t err // Force OpenFlow version reset_config.of_version = 0; // Force version disabled + + //How often to retrieve stats from switch + reset_config.stats_interval = 1; // Default 1 second memcpy(&reset_config.MAC_address, &Zodiac_Config.MAC_address, 6); // Copy over existing MAC address so it is not reset memcpy(&Zodiac_Config, &reset_config, sizeof(struct zodiac_config));