File tree Expand file tree Collapse file tree 9 files changed +12
-13
lines changed
Expand file tree Collapse file tree 9 files changed +12
-13
lines changed Original file line number Diff line number Diff line change @@ -862,11 +862,11 @@ void do_ipv6_filter_table(FILE *fp){
862862 }
863863#endif /*_HUB4_PRODUCT_REQ_*/
864864
865- #if defined(CISCO_CONFIG_DHCPV6_PREFIX_DELEGATION ) && !defined(_CBR_PRODUCT_REQ_ )
865+ #if defined(CISCO_CONFIG_DHCPV6_PREFIX_DELEGATION ) && ! defined(_CBR_PRODUCT_REQ_ )
866866 /*Add a simple logic here to make traffic allowed for lan interfaces
867867 * exclude primary lan*/
868868 prepare_ipv6_multinet (fp );
869- #endif
869+ #endif
870870 #if !defined(_XER5_PRODUCT_REQ_ ) && !defined (_SCER11BEL_PRODUCT_REQ_ ) && !defined(_COSA_QCA_ARM_ ) //wan0 is not applicable for XER5
871871 /* not allow ping wan0 from brlan0 */
872872 int i ;
@@ -1717,8 +1717,8 @@ void do_ipv6_filter_table(FILE *fp){
17171717 FIREWALL_DEBUG ("Exiting prepare_ipv6_firewall \n" );
17181718}
17191719
1720- #if defined(CISCO_CONFIG_DHCPV6_PREFIX_DELEGATION ) && !defined(_CBR_PRODUCT_REQ_ )
1721- int prepare_ipv6_multinet (FILE * fp )
1720+ #if defined(CISCO_CONFIG_DHCPV6_PREFIX_DELEGATION ) && ! defined(_CBR_PRODUCT_REQ_ )
1721+ static int prepare_ipv6_multinet (FILE * fp )
17221722{
17231723 char active_insts [32 ] = {0 };
17241724 char lan_pd_if [128 ] = {0 };
Original file line number Diff line number Diff line change @@ -74,7 +74,8 @@ const char* SERVICE_CUSTOM_EVENTS_BUSINESS[] = {
7474 "dhcpv6_server-stop|/etc/utopia/service.d/service_dhcpv6_server_bci.sh" ,
7575 "dhcpv6_server-restart|/etc/utopia/service.d/service_dhcpv6_server_bci.sh" ,
7676 "ipv6_prefix_delegation|/etc/utopia/service.d/service_dhcpv6_server_bci.sh" ,
77- "dhcpv6_option_changed|/etc/utopia/service.d/service_dhcpv6_server_bci.sh|NULL|" TUPLE_FLAG_EVENT ,NULL
77+ "dhcpv6_option_changed|/etc/utopia/service.d/service_dhcpv6_server_bci.sh|NULL|" TUPLE_FLAG_EVENT ,
78+ NULL
7879 };
7980#else
8081const char * SERVICE_CUSTOM_EVENTS [] = {
Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ const char* SERVICE_CUSTOM_EVENTS_RESIDENTIAL[] = {
7070 "staticroute-restart|/etc/utopia/service.d/service_routed.sh|NULL|" TUPLE_FLAG_EVENT ,
7171 #ifdef WAN_FAILOVER_SUPPORTED
7272 "routeset-ula|/usr/bin/service_routed|NULL|" TUPLE_FLAG_EVENT ,
73- "routeunset-ula|/usr/bin// service_routed|NULL|" TUPLE_FLAG_EVENT ,
73+ "routeunset-ula|/usr/bin/service_routed|NULL|" TUPLE_FLAG_EVENT ,
7474 #endif
7575 NULL
7676 };
Original file line number Diff line number Diff line change @@ -133,5 +133,5 @@ if ENABLE_HOTSPOT_SERVICE
13313315_hotspot_SOURCES = 15_hotspot.c
134134endif
135135if ONESTACK_PRODUCT_REQ
136- LDFLAGS += -lrdkb_feature_mode_gate -ldevicemode
136+ LDFLAGS += -lrdkb_feature_mode_gate
137137endif
Original file line number Diff line number Diff line change @@ -120,7 +120,7 @@ service_start ()
120120 echo " 1 */12 * * * /usr/ccsp/tad/FileHandle_Monitor.sh" >> $CRONTAB_FILE
121121
122122
123- if [ " $MODEL_NUM " = " DPC3941B" ] || [ " $MODEL_NUM " = " DPC3939B" ] || [ " $MODEL_NUM " = " CGA4131COM" ] || [ " $MODEL_NUM " = " CGA4332COM" ] || [ " $MODEL_NUM " = " SG417DBCT " ] ; then
123+ if [ " $MODEL_NUM " = " DPC3941B" ] || [ " $MODEL_NUM " = " DPC3939B" ] || [ " $MODEL_NUM " = " CGA4131COM" ] || [ " $MODEL_NUM " = " CGA4332COM" ]; then
124124 echo " */15 * * * * /usr/ccsp/tad/log_staticIP_client_info.sh" >> $CRONTAB_FILE
125125 fi
126126
Original file line number Diff line number Diff line change @@ -306,7 +306,6 @@ sm_register_one_event() {
306306 if [ " NULL" = " $SMR_EVENT " ] ; then
307307 return 0
308308 fi
309- echo " [DEBUG] sm_rm_event ${SMR_SERVICE} ${SMR_EVENT_NAME} "
310309 # if this service has already registered for this event, then cancel the previous registration
311310 # this is probably overkill since we likely already called sm_unregister, but better safe than sorry
312311 sm_rm_event " ${SMR_SERVICE} " " ${SMR_EVENT_NAME} "
@@ -445,7 +444,6 @@ sm_register() {
445444 IFS=' ;'
446445 for custom in $SM_CUSTOM_EVENTS ; do
447446 if [ -n " $custom " ] && [ " " != " $custom " ] ; then
448- echo " [DHCPV6][DEBUG] Registering custom event: '$custom ' for service '$SM_SERVICE '"
449447 IFS=$SAVEIFS
450448 sm_register_one_event " $SM_SERVICE " " $custom "
451449 IFS=' ;'
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ AM_CPPFLAGS = -I$(top_srcdir)/source/include \
2626AM_LDFLAGS = -lccsp_common -lsecure_wrapper $(DBUS_LIBS )
2727
2828if ONESTACK_PRODUCT_REQ
29- AM_LDFLAGS += -ldevicemode -lonestack_syscfg -lonestack_log - lrdkb_feature_mode_gate
29+ AM_LDFLAGS += -lrdkb_feature_mode_gate
3030endif
3131service_ipv6_SOURCES = service_ipv6.c service_ipv6_main.c
3232
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ service_routed_LDADD = $(top_builddir)/source/util/utils/libutopiautil.la \
4646 -ltelemetry_msgsender
4747service_routed_LDFLAGS = -L${PKG_CONFIG_SYSROOT_DIR}${libdir}
4848if ONESTACK_PRODUCT_REQ
49- service_routed_LDFLAGS += -ldevicemode -lonestack_syscfg -lonestack_log - lrdkb_feature_mode_gate
49+ service_routed_LDFLAGS += -lrdkb_feature_mode_gate
5050endif
5151if CORE_NET_LIB_FEATURE_SUPPORT
5252service_routed_LDFLAGS += -lnet
Original file line number Diff line number Diff line change @@ -27,5 +27,5 @@ libutopiautil_la_CPPFLAGS = -I$(top_srcdir)/source/include \
2727
2828libutopiautil_la_LDFLAGS = -lccsp_common $(DBUS_LIBS )
2929if ONESTACK_PRODUCT_REQ
30- libutopiautil_la_LDFLAGS += -ldevicemode -lonestack_syscfg -lonestack_log - lrdkb_feature_mode_gate
30+ libutopiautil_la_LDFLAGS += -lrdkb_feature_mode_gate
3131endif
You can’t perform that action at this time.
0 commit comments