begin
if rising_edge(CLK) then
if (main_current_state = ESTABLISHED) then
--- my_ip(31 downto 24) <= saved_true_ip(7 downto 0);
--- my_ip(23 downto 16) <= saved_true_ip(15 downto 8);
--- my_ip(15 downto 8) <= saved_true_ip(23 downto 16);
--- my_ip(7 downto 0) <= saved_true_ip(31 downto 24);
-
- my_ip <= saved_true_ip;
+ my_ip(31 downto 24) <= saved_true_ip(7 downto 0);
+ my_ip(23 downto 16) <= saved_true_ip(15 downto 8);
+ my_ip(15 downto 8) <= saved_true_ip(23 downto 16);
+ my_ip(7 downto 0) <= saved_true_ip(31 downto 24);
elsif (CFG_IP_IN /= x"0000_0000") then
my_ip(31 downto 24) <= CFG_IP_IN(7 downto 0);
my_ip(23 downto 16) <= CFG_IP_IN(15 downto 8);