summaryrefslogtreecommitdiffstats
path: root/ax25ipd/config.c
diff options
context:
space:
mode:
Diffstat (limited to 'ax25ipd/config.c')
-rw-r--r--ax25ipd/config.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/ax25ipd/config.c b/ax25ipd/config.c
index 5b2c3e4..e1a7f70 100644
--- a/ax25ipd/config.c
+++ b/ax25ipd/config.c
@@ -319,17 +319,17 @@ int parse_line(char *buf)
uport = ntohs(my_udp);
while ((q = strtok(NULL, " \t\n\r")) != NULL) {
if (strcmp(q, "udp") == 0) {
- /* uport == 0 should never happen.
- * re-use setting. It costed me a long time
- * to realize that "udp" in ax25ipd.conf
- * is not enough. It used the wrong port;
- * 93 is standard, I configured socket udp 93,
- * but ax25ipd talked to partners on that
- * strange 10093. Even more, ax25ipd.conf's
- * examples for axip did not help - and the
- * manual is far from complete.
- */
- if (uport == 0)
+ /* uport == 0 should never happen.
+ * re-use setting. It costed me a long time
+ * to realize that "udp" in ax25ipd.conf
+ * is not enough. It used the wrong port;
+ * 93 is standard, I configured socket udp 93,
+ * but ax25ipd talked to partners on that
+ * strange 10093. Even more, ax25ipd.conf's
+ * examples for axip did not help - and the
+ * manual is far from complete.
+ */
+ if (uport == 0)
uport = DEFAULT_UDP_PORT;
q = strtok(NULL, " \t\n\r");
if (q != NULL) {