diff --git a/can2udp/README.md b/can2udp/README.md index 450bbda3b..7ba9a8ed2 100644 --- a/can2udp/README.md +++ b/can2udp/README.md @@ -23,7 +23,7 @@ Usage: can2udp -l \ -d \ -i \

 Usage: can2lan -c \ -u \ -t \ -d \ -i \
-   Version 1.03
+   Version 1.04
          -c \     set the config directory
          -u \           listening UDP port for the server - default 15731
          -t \           listening TCP port for the server - default 15731
diff --git a/can2udp/src/can2lan.c b/can2udp/src/can2lan.c
index d59ed65d5..67f360fb1 100644
--- a/can2udp/src/can2lan.c
+++ b/can2udp/src/can2lan.c
@@ -31,7 +31,7 @@ int verbose, ms1_workaround;
 
 void print_usage(char *prg) {
     fprintf(stderr, "\nUsage: %s -c  -u  -t  -d  -i \n", prg);
-    fprintf(stderr, "   Version 1.03\n\n");
+    fprintf(stderr, "   Version 1.04\n\n");
     fprintf(stderr, "         -c      set the config directory\n");
     fprintf(stderr, "         -u            listening UDP port for the server - default 15731\n");
     fprintf(stderr, "         -t            listening TCP port for the server - default 15731\n");
@@ -540,6 +540,8 @@ int main(int argc, char **argv) {
 				    else
 					print_can_frame(TCP_FORMAT_STRG, &netframe[i], verbose & !background);
 				}
+				net_to_net(sb, (struct sockaddr *)&baddr, netframe, 13);
+				print_can_frame(UDP_FORMAT_STRG, netframe, verbose & !background);
 			    }
 			}
 		    }