Skip to content

Commit

Permalink
update: fix build with latest ndn-cxx
Browse files Browse the repository at this point in the history
Change-Id: Ie8410bbc292647d88c649dc88366e6d9372f8e3e
  • Loading branch information
Pesa committed Jan 6, 2025
1 parent d2610dc commit f573c63
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/update/prefix-update-commands.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,12 @@ namespace nlsr::update {

class AdvertisePrefixCommand : public ndn::nfd::ControlCommand<AdvertisePrefixCommand>
{
NDN_CXX_CONTROL_COMMAND(AdvertisePrefixCommand, "nlsr", "advertise");
NDN_CXX_CONTROL_COMMAND("nlsr", "advertise");
};

class WithdrawPrefixCommand : public ndn::nfd::ControlCommand<WithdrawPrefixCommand>
{
NDN_CXX_CONTROL_COMMAND(WithdrawPrefixCommand, "nlsr", "withdraw");
NDN_CXX_CONTROL_COMMAND("nlsr", "withdraw");
};

} // namespace nlsr::update
Expand Down

0 comments on commit f573c63

Please sign in to comment.