We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 640547a commit 7d6ae0eCopy full SHA for 7d6ae0e
fpmsyncd/fpmlink.cpp
@@ -9,7 +9,7 @@
9
using namespace swss;
10
using namespace std;
11
12
-FpmLink::FpmLink(int port) :
+FpmLink::FpmLink(unsigned short port) :
13
MSG_BATCH_SIZE(256),
14
m_bufSize(FPM_MAX_MSG_LEN * MSG_BATCH_SIZE),
15
m_messageBuffer(NULL),
fpmsyncd/fpmlink.h
@@ -19,7 +19,7 @@ namespace swss {
19
class FpmLink : public Selectable {
20
public:
21
const int MSG_BATCH_SIZE;
22
- FpmLink(int port = FPM_DEFAULT_PORT);
+ FpmLink(unsigned short port = FPM_DEFAULT_PORT);
23
virtual ~FpmLink();
24
25
/* Wait for connection (blocking) */
0 commit comments