reorder Remote fields
authorRalph Ronnquist <ralph.ronnquist@gmail.com>
Thu, 10 Nov 2022 12:31:13 +0000 (23:31 +1100)
committerRalph Ronnquist <ralph.ronnquist@gmail.com>
Thu, 10 Nov 2022 12:31:13 +0000 (23:31 +1100)
rrqnet.c

index 2bf5e39a13c8b9e0a207cd9207fdae3c5023627a..739eff6181cded40da5b396b2e5b19c23b0574b2 100644 (file)
--- a/rrqnet.c
+++ b/rrqnet.c
@@ -66,9 +66,9 @@ struct Allowed {
 // Details of actualized connections.
 struct Remote {
     struct SockAddr uaddr;     // The remote IP address
+    struct SockAddr laddr;     // The local IP address
     struct Allowed *spec;      // Rule being instantiated
     struct timeval rec_when;   // Last received packet time, in seconds
-    struct SockAddr laddr;     // The local IP address
 };
 
 // Details of an interface at a remote.