Set default port for VMPS
authoraland <aland>
Fri, 29 Jun 2007 09:39:46 +0000 (09:39 +0000)
committeraland <aland>
Fri, 29 Jun 2007 09:39:46 +0000 (09:39 +0000)
src/main/listen.c

index 9a34041..a8d8c11 100644 (file)
@@ -1542,6 +1542,12 @@ static int listen_bind(rad_listen_t *this)
                        }
                        break;
 
+#ifdef WITH_VMPS
+               case RAD_LISTEN_VQP:
+                       sock->port = 1589;
+                       break;
+#endif
+
                default:
                        radlog(L_ERR|L_CONS, "ERROR: Non-fatal internal sanity check failed in bind.");
                        return -1;