Moved send I-Am to a send module and out of iam.c.
This commit is contained in:
@@ -285,6 +285,10 @@ SOURCE=..\..\..\demo\handler\noserv.c
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\..\..\demo\handler\s_iam.c
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\..\..\src\npdu.c
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
@@ -325,7 +325,7 @@ int main(
|
||||
}
|
||||
if (I_Am_Request) {
|
||||
I_Am_Request = false;
|
||||
iam_send(&Handler_Transmit_Buffer[0]);
|
||||
Send_I_Am(&Handler_Transmit_Buffer[0]);
|
||||
} else if (Who_Is_Request) {
|
||||
Who_Is_Request = false;
|
||||
Send_WhoIs(-1, -1);
|
||||
|
||||
@@ -40,6 +40,8 @@ DEMOSRC = ai.c \
|
||||
../../demo/object/device.c \
|
||||
../../demo/handler/txbuf.c \
|
||||
../../demo/handler/h_whois.c \
|
||||
../../demo/handler/noserv.c \
|
||||
../../demo/handler/s_iam.c \
|
||||
../../demo/handler/h_rd.c \
|
||||
../../demo/handler/h_dcc.c
|
||||
|
||||
|
||||
Reference in New Issue
Block a user