REM:
1. 多用户vSwitch PPPoE联调成功
This commit is contained in:
huangxin 2022-06-09 11:22:03 +08:00
parent 625d1c146f
commit 93e9da2085
1 changed files with 2 additions and 2 deletions

View File

@ -12,14 +12,14 @@ static uv_rwlock_t g_userLock;
static USER_PARAMS g_userInfo[] = {
{0, 400, 24, 371, {0x00, 0x0C, 0x01, 0x02, 0x00, 0x03}, "user1", "password1"},
{1, 300, 16, 12, {0x00, 0x0C, 0x01, 0x02, 0x00, 0x02}, "user2", "password1"},
{2, 300, 14, 15, {0x00, 0x0C, 0x01, 0x02, 0x00, 0x04}, "xajhuang1", "aaaHuang1"},
{2, 300, 14, 15, {0x00, 0x0C, 0x01, 0x02, 0x00, 0x04}, "user3", "password1"},
};
void user_info_init() {
uv_rwlock_init(&g_userLock);
user_info_add(0, &g_userInfo[0]);
//user_info_add(1, &g_userInfo[1]);
user_info_add(1, &g_userInfo[1]);
//user_info_add(2, &g_userInfo[2]);
}